Update sphinx_make.py

This commit is contained in:
Mr Chen
2024-05-21 23:39:19 +08:00
parent da5c44a747
commit aa9ab55fec
+1 -3
View File
@@ -275,7 +275,7 @@ source {$DB_NAME}_{$TABLE_NAME}
sql_port = {$DB_PORT}
sql_query_pre = SET NAMES utf8
{$UPDATE}
sql_query_range = {$DB_RANGE_SQL}
@@ -318,12 +318,10 @@ index {$DB_NAME}_{$TABLE_NAME}
conf = self.makeSphinxDbFieldRepalce(conf, sph_field)
if create_sphinx_table:
update = self.makeSphinxDbSourcePost(db, table)
conf = conf.replace("{$UPDATE}", update)
if create_sphinx_table:
sph_sql = self.createSql(db)
self.pdb.query(sph_sql)