From aa9ab55fec6663528867074cac238a77a4c7a4c4 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Tue, 21 May 2024 23:39:19 +0800 Subject: [PATCH] Update sphinx_make.py --- plugins/sphinx/class/sphinx_make.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/sphinx/class/sphinx_make.py b/plugins/sphinx/class/sphinx_make.py index 2624fee65..224b10b0d 100644 --- a/plugins/sphinx/class/sphinx_make.py +++ b/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)