diff --git a/sphinx.conf b/sphinx.conf index a61dce8..20dbce7 100644 --- a/sphinx.conf +++ b/sphinx.conf @@ -12,7 +12,7 @@ source files_index sql_db = btsearch sql_port = 3306 # optional, default is 3306 - sql_query_pre = REPLACE INTO sphinx_counter SELECT 1, MAX(fileid) FROM torrents + sql_query_pre = REPLACE INTO sphinx_counter SELECT 1, MAX(fileid) FROM files sql_query = \ SELECT fls.fileid, fls.path, fls.size as filesize, \ torrents.hash as hash, torrents.name as name, torrents.size as size, \