From 478ebe95f0a91448be031757a2637cdcd44037d8 Mon Sep 17 00:00:00 2001 From: dami Date: Mon, 21 Jul 2025 19:14:27 +0800 Subject: [PATCH] Update discuz.conf --- plugins/manticoresearch/tpl/discuz.conf | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugins/manticoresearch/tpl/discuz.conf b/plugins/manticoresearch/tpl/discuz.conf index c4e88b6a7..bcb97a56d 100644 --- a/plugins/manticoresearch/tpl/discuz.conf +++ b/plugins/manticoresearch/tpl/discuz.conf @@ -52,7 +52,6 @@ index pre_forum_thread source pre_forum_thread_minute : pre_forum_thread { sql_query_pre = SET NAMES UTF8 - sql_query_pre = SET SESSION query_cache_type=OFF sql_query_range = SELECT maxid-1,(SELECT MAX(tid) FROM bbs_forum_thread) FROM bbs_common_sphinxcounter WHERE indexid=1 } @@ -69,7 +68,6 @@ source pre_forum_post : pre_forum_thread type = mysql sql_query_pre = sql_query_pre = SET NAMES UTF8 - sql_query_pre = SET SESSION query_cache_type=OFF sql_query_pre = REPLACE INTO bbs_common_sphinxcounter SELECT 2, MAX(pid) FROM bbs_forum_post sql_query = SELECT p.pid AS id,p.tid,p.subject,p.message,t.digest,t.displayorder,t.authorid,t.lastpost,t.special \ FROM bbs_forum_post AS p LEFT JOIN bbs_forum_thread AS t USING(tid) where p.pid >=$start and p.pid <=$end \ @@ -99,7 +97,6 @@ index pre_forum_post source pre_forum_post_minute : pre_forum_post { sql_query_pre = SET NAMES UTF8 - sql_query_pre = SET SESSION query_cache_type=OFF sql_query_range = SELECT maxid-1,(SELECT MAX(pid) FROM bbs_forum_post) FROM bbs_common_sphinxcounter WHERE indexid=2 }