[ DB ] CONNECT:[ UseTime:0.000637s ] mysql:host=122.114.224.210;port=3306;dbname=sql_xinyang_db;charset=utf8
[ SQL ] SHOW COLUMNS FROM `n_link` [ RunTime:0.000931s ]
[ SQL ] SELECT * FROM `n_link` ORDER BY `sort` DESC [ RunTime:0.000535s ]
[ SQL ] SHOW COLUMNS FROM `n_news_cate` [ RunTime:0.000651s ]
[ SQL ] SELECT `id`,`name`,`status` FROM `n_news_cate` [ RunTime:0.000327s ]
[ SQL ] SHOW COLUMNS FROM `n_news` [ RunTime:0.000692s ]
[ SQL ] SELECT `n`.`title`,`n`.`id`,`n`.`cate_id`,`nc`.`name`,`n`.`main`,`n`.`main_img` FROM `n_news` `n` INNER JOIN `n_news_cate` `nc` ON `nc`.`id`=`n`.`cate_id` WHERE `nc`.`status` = 1 AND `n`.`cate_id` = 2 ORDER BY `n`.`id` DESC LIMIT 1 [ RunTime:0.000877s ]
[ SQL ] SELECT `n`.`title`,`n`.`id`,`n`.`cate_id`,`nc`.`name`,`n`.`main`,`n`.`main_img` FROM `n_news` `n` INNER JOIN `n_news_cate` `nc` ON `nc`.`id`=`n`.`cate_id` WHERE `nc`.`status` = 1 AND `n`.`cate_id` = 3 ORDER BY `n`.`id` DESC LIMIT 1 [ RunTime:0.000730s ]
[ SQL ] SELECT `n`.`title`,`n`.`id`,`n`.`cate_id`,`nc`.`name`,`n`.`main`,`n`.`main_img` FROM `n_news` `n` INNER JOIN `n_news_cate` `nc` ON `nc`.`id`=`n`.`cate_id` WHERE `nc`.`status` = 1 AND `n`.`cate_id` = 4 ORDER BY `n`.`id` DESC LIMIT 1 [ RunTime:0.000727s ]
[ SQL ] SELECT `n`.`title`,`n`.`id`,`n`.`cate_id`,`nc`.`name`,`n`.`main`,`n`.`main_img` FROM `n_news` `n` INNER JOIN `n_news_cate` `nc` ON `nc`.`id`=`n`.`cate_id` WHERE `nc`.`status` = 1 AND `n`.`cate_id` = 5 ORDER BY `n`.`id` DESC LIMIT 1 [ RunTime:0.000746s ]
[ SQL ] SELECT `n`.`title`,`n`.`id`,`n`.`cate_id`,`nc`.`name`,`n`.`main`,`n`.`main_img` FROM `n_news` `n` INNER JOIN `n_news_cate` `nc` ON `nc`.`id`=`n`.`cate_id` WHERE `nc`.`status` = 1 AND `n`.`cate_id` = 12 ORDER BY `n`.`id` DESC LIMIT 1 [ RunTime:0.000720s ]
[ SQL ] SELECT * FROM `n_news` WHERE `id` = 39 LIMIT 1 [ RunTime:0.000401s ]
[ SQL ] SELECT `name` FROM `n_news_cate` WHERE `id` = 3 LIMIT 1 [ RunTime:0.000325s ]
[ SQL ] SELECT `id`,`title` FROM `n_news` WHERE `id` < 39 AND `status` = 1 AND `cate_id` = 3 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000418s ]
[ SQL ] SELECT `id`,`title` FROM `n_news` WHERE `id` > 39 AND `status` = 1 AND `cate_id` = 3 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000696s ]
[ SQL ] SELECT `id`,`title` FROM `n_news` WHERE ( `cate_id` = 3 AND `cate_id` NOT IN (2,3,4,5,12) ) AND `id` <> 39 AND `status` = 1 LIMIT 4 [ RunTime:0.000349s ]
[ SQL ] SELECT `id`,`title` FROM `n_news` WHERE `id` <> 39 AND `status` = 1 AND `cate_id` NOT IN (2,3,4,5,12) ORDER BY `id` DESC LIMIT 4 [ RunTime:0.000416s ]