用C语言实现了线段裁剪,代码可以直接复制到tc里面运行,很好实现了线段裁剪-With the C language to implement Line Clipping, code can be directly copied to the tc run inside, well realized Line Clipping
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.019608s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.092718s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.001157s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001169s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.000975s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003103s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.000856s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.006347s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.039584s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001964s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 298812 [ RunTime:0.017588s ]