mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update sphinx_make.py
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user