From 60747c2f04dbb1318ef73ae3e8dfe9174ea1623c Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Sun, 19 May 2024 17:47:51 +0800 Subject: [PATCH] Update sphinx_make.py --- plugins/sphinx/class/sphinx_make.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/sphinx/class/sphinx_make.py b/plugins/sphinx/class/sphinx_make.py index 34beef28b..f16a2a3a3 100644 --- a/plugins/sphinx/class/sphinx_make.py +++ b/plugins/sphinx/class/sphinx_make.py @@ -111,8 +111,8 @@ indexer conf = conf.replace("{$server_dir}", mw.getServerDir()) return conf -def makeSphinxDbSourceRangeSql(pdb, db, table): - pkey_name = getTablePk(pdb, db, table) +def makeSphinxDbSourceRangeSql(pdb, db, table, pkey_name): + # pkey_name = getTablePk(pdb, db, table) sql = "SELECT min("+pkey_name+"), max("+pkey_name+") FROM "+table return sql