fix encoding
This commit is contained in:
parent
2767a67ea1
commit
9cc9fe5cf5
@ -12,6 +12,7 @@ source files_index
|
||||
sql_db = btsearch
|
||||
sql_port = 3306 # optional, default is 3306
|
||||
|
||||
sql_query_pre = SET NAMES utf8
|
||||
sql_query_pre = REPLACE INTO sphinx_counter SELECT 1, MAX(fileid) FROM files
|
||||
sql_query = \
|
||||
SELECT fls.fileid, fls.path, fls.size as filesize, \
|
||||
@ -74,7 +75,8 @@ source torrents_index
|
||||
sql_db = btsearch
|
||||
sql_port = 3306 # optional, default is 3306
|
||||
|
||||
sql_query_pre = REPLACE INTO sphinx_counter SELECT 2, MAX(torrentid) FROM torrents
|
||||
sql_query_pre = SET NAMES utf8
|
||||
sql_query_pre = REPLACE INTO sphinx_counter SELECT 2, MAX(torrentid) FROM torrents
|
||||
sql_query = \
|
||||
SELECT torrents.torrentid, torrents.hash as hash, torrents.name as name, torrents.size as size, \
|
||||
torrents.seeders, torrents.leechers, torrents.completed, \
|
||||
|
Loading…
Reference in New Issue
Block a user