You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to imy...@googlegroups.com
在 slowquery.log 发现以下mysql代码占用太多query 时间:
SELECT DISTINCT t.tid, t.closed, t.author FROM cdb_posts p, cdb_threads t WHERE t.fid IN (562,74,564,483,529) AND t.displayorder>='0' AND p.tid=t.tid AND p.invisible='0' ORDER BY t.lastpost DESC LIMIT 0, 20;
但一时找不到是从哪一个php运行的文件,请问:
1)如何 阻止上述 mysql 代码运行 , 如遇到 “SELECT DISTINCT t.tid, t.closed, t.author FROM cdb_posts” 一律封杀,其他mysql代码依然可以运行。
2)如何查知此代码来知哪一个php 文件?
谢谢。
Yunyang Zhang
unread,
Sep 19, 2010, 12:57:44 PM9/19/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message