久久久久av_欧美日韩一区二区在线_国产精品三区四区_日韩中字在线

Discuz! 官方交流社區

標題: sql語句 追蹤問題:SELECT count(*) FROM pre_common_tagitem WHERE 1 ……這樣sql語句 [打印本頁]

作者: 天外飄仙    時間: 2024-4-18 17:35
標題: sql語句 追蹤問題:SELECT count(*) FROM pre_common_tagitem WHERE 1 ……這樣sql語句


SELECT count(*) FROM pre_common_tagitem WHERE  1 AND tagid=3765 AND idtype='tid';


有沒哪位 大神 對這條sql語句 有印象呢?

類似的sql 出現了 大量的慢查詢……

搜索 AND tagid=  和 common_tagitem 都沒找到 相關文件……

作者: 天外飄仙    時間: 2024-4-18 17:55
追蹤到了 source\module\misc\misc_tag.php

$count = C::t('common_tagitem')->select($id, 0, 'tid', '', '', 0, 0, 0, 1); 這一行代碼 解析出來的 sql
作者: 阿鵬    時間: 2024-4-18 22:26
大佬666,膜拜一番




歡迎光臨 Discuz! 官方交流社區 (http://www.9999xn.com/) Powered by Discuz! W1.0