[ DB ] CONNECT:[ UseTime:0.000932s ] mysql:host=127.0.0.1;dbname=didadoc;charset=utf8
[ SQL ] SHOW COLUMNS FROM `wk_config` [ RunTime:0.001655s ]
[ SQL ] SELECT `ename`,`value` FROM `wk_config` [ RunTime:0.001314s ]
[ SQL ] SHOW COLUMNS FROM `wk_wenku` [ RunTime:0.021793s ]
[ SQL ] SELECT `id`,`title`,`views` FROM `wk_wenku` WHERE `status` = 1 ORDER BY `views` DESC LIMIT 8 [ RunTime:0.030260s ]
[ SQL ] SHOW COLUMNS FROM `wk_wenku_type` [ RunTime:0.011921s ]
[ SQL ] SELECT * FROM `wk_wenku_type` ORDER BY `sort` ASC [ RunTime:0.001334s ]
[ SQL ] SELECT * FROM `wk_wenku_type` ORDER BY `sort` ASC LIMIT 15 [ RunTime:0.000940s ]
[ SQL ] SELECT * FROM `wk_wenku` WHERE `id` = 2601 LIMIT 1 [ RunTime:0.001761s ]
[ SQL ] SELECT * FROM `wk_wenku_type` WHERE `id` = 23 LIMIT 1 [ RunTime:0.001351s ]
[ SQL ] SELECT * FROM `wk_wenku_type` WHERE `id` = 13 LIMIT 1 [ RunTime:0.001099s ]
[ SQL ] SELECT `w`.*,`f`.* FROM `wk_wenku` `w` INNER JOIN `wk_file` `f` ON `f`.`file_id`=`w`.`file_id` WHERE `w`.`status` = 1 AND `w`.`id` = 2601 LIMIT 1 [ RunTime:0.001817s ]
[ SQL ] SELECT * FROM `wk_wenku_type` WHERE `id` = 23 LIMIT 1 [ RunTime:0.001313s ]
[ SQL ] UPDATE `wk_wenku` `w` INNER JOIN `wk_file` `f` ON `f`.`file_id`=`w`.`file_id` SET `w`.`views` = `w`.`views` + 1 WHERE `w`.`id` = 2601 [ RunTime:0.037296s ]
[ SQL ] SHOW COLUMNS FROM `wk_file_png` [ RunTime:0.002217s ]
[ SQL ] SELECT `url` FROM `wk_file_png` WHERE `wen_id` = 2601 ORDER BY `url` DESC [ RunTime:0.002474s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `wk_file_png` WHERE `wen_id` = 2601 [ RunTime:0.001764s ]
[ SQL ] SELECT `id`,`title`,`views` FROM `wk_wenku` WHERE `type_id` = 23 AND `id` <> 2601 AND `status` = 1 ORDER BY `views` DESC LIMIT 8 [ RunTime:0.002094s ]