|
本帖最后由 yho 于 2011-5-9 19:48 编辑
PHP复制代码 2011-05-09 04:07:12 --> /admins /sidebar /update /2 <br />
当前数据库 : bearing查询次数 : 3<br />
0.0035 SELECT *
FROM (`ci_sessions` )
WHERE ` session_id` = 'b10e5b1929466c5c4e7274008b0273f8'
AND `user_agent` = 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;'<br />
0.0005 SELECT `id` , `content`
FROM (`configuration` )<br />
0.0006 UPDATE `sidebar` SET `title` = 'Bearing test', `picurl` = '', `picurl1` = '', `linkurl` = '', `content` = '<p>\n test dfdddfffrff</p>\n', `note` = '侧边公告' WHERE `id` = '2'<br />
<hr />
2011-05-09 04:07:12 --> /admins /sidebar /update /2 <br />
当前数据库 : bearing查询次数 : 3<br />
0.0005 INSERT INTO `ci_sessions` (` session_id` , `ip_address` , `user_agent` , `last_activity` ) VALUES ('8bd6b83a31227458980e5b9b94546c6c', '183.60.52.156', 'Mozilla/4.0', 1304935632)<br />
0.0006 SELECT `id` , `content`
FROM (`configuration` )<br />
0.0006 UPDATE `sidebar` SET `title` = 0, `picurl` = 0, `picurl1` = 0, `linkurl` = 0, `content` = 0, `note` = 0 WHERE `id` = '2'<br />
<hr />
2011-05-09 04:07:13 --> /admins /sidebar <br />
当前数据库 : fkbearing查询次数 : 3<br />
0.0005 SELECT *
FROM (`ci_sessions` )
WHERE ` session_id` = 'b10e5b1929466c5c4e7274008b0273f8'
AND `user_agent` = 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;'<br />
0.0005 SELECT `id` , `content`
FROM (`configuration` )<br />
0.0013 SELECT *
FROM (`sidebar` )
ORDER BY `id` <br /> 复制代码
看明白了吗,这是我自己写的一个hooks记录sql的,就是后台所有编辑数据时,把所有字段置0了,有时好有时坏,求大鸟解惑,在本地几乎不会出现,快被折磨死了 |
|