[ DB ] CONNECT:[ UseTime:0.006474s ] mysql:host=127.0.0.1;dbname=didadoc;charset=utf8
[ SQL ] SHOW COLUMNS FROM `wk_config` [ RunTime:0.017658s ]
[ SQL ] SELECT `ename`,`value` FROM `wk_config` [ RunTime:0.001887s ]
[ SQL ] SHOW COLUMNS FROM `wk_wenku` [ RunTime:0.022228s ]
[ SQL ] SELECT `id`,`title`,`views` FROM `wk_wenku` WHERE `status` = 1 ORDER BY `views` DESC LIMIT 8 [ RunTime:0.032476s ]
[ SQL ] SHOW COLUMNS FROM `wk_wenku_type` [ RunTime:0.022646s ]
[ SQL ] SELECT * FROM `wk_wenku_type` ORDER BY `sort` ASC [ RunTime:0.001206s ]
[ SQL ] SELECT * FROM `wk_wenku_type` ORDER BY `sort` ASC LIMIT 15 [ RunTime:0.001165s ]
[ SQL ] SELECT * FROM `wk_wenku` WHERE `id` = 1777 LIMIT 1 [ RunTime:0.001291s ]
[ SQL ] SELECT * FROM `wk_wenku_type` WHERE `id` = 36 LIMIT 1 [ RunTime:0.000899s ]
[ SQL ] SELECT * FROM `wk_wenku_type` WHERE `id` = 7 LIMIT 1 [ RunTime:0.000791s ]
[ 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` = 1777 LIMIT 1 [ RunTime:0.001531s ]
[ SQL ] SELECT * FROM `wk_wenku_type` WHERE `id` = 36 LIMIT 1 [ RunTime:0.001183s ]
[ 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` = 1777 [ RunTime:0.066575s ]
[ SQL ] SHOW COLUMNS FROM `wk_file_png` [ RunTime:0.003006s ]
[ SQL ] SELECT `url` FROM `wk_file_png` WHERE `wen_id` = 1777 ORDER BY `url` DESC [ RunTime:0.001845s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `wk_file_png` WHERE `wen_id` = 1777 [ RunTime:0.001481s ]
[ SQL ] SELECT `id`,`title`,`views` FROM `wk_wenku` WHERE `type_id` = 36 AND `id` <> 1777 AND `status` = 1 ORDER BY `views` DESC LIMIT 8 [ RunTime:0.001884s ]