Update sphinx_make.py

pull/577/head
Mr Chen 12 months ago
parent da5c44a747
commit aa9ab55fec
  1. 4
      plugins/sphinx/class/sphinx_make.py

@ -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)

Loading…
Cancel
Save