1064:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and t.status=1 and t.attachsource = 1 ) ORDER BY t.reviewtime desc LIMIT 0,5' at line 1
[ SQL璇彞 ] : SELECT t.cate1,t.cate2,t.cate3,t.status,if(t.attachsource=1,c.pinyin,ys.pinyin) as pinyin,t.tid,t.keywords,t.source_down_url,t.source,t.source_addtime,t.money_type,t.money,t.price,t.mode,t.downloads,t.fid,t.attachsource,t.subject,t.width_t,t.height_t,t.image_small,t.fid0,t.dateline FROM cdb_sucai_main as t LEFT JOIN tupian.cdb_sucai_categorys c on t.fid0=c.fid LEFT JOIN tupian.cdb_sucai_yscategorys ys on t.fid0=ys.fid WHERE ( t.fid0= and t.status=1 and t.attachsource = 1 ) ORDER BY t.reviewtime desc LIMIT 0,5
1064:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND tid = 394051' at line 1
[ SQL璇彞 ] : SELECT id FROM tupian.cdb_sucai_integral_praise WHERE uid = AND tid = 394051
[8] Undefined index: set /data/www/wwwroot/114/Common/memcached-client.php 绗� 870 琛�.
SELECT * FROM `cdb_sucai_quanjing_categorys` WHERE ( upcatid=0 ) ORDER BY orderby asc LIMIT 10000 [ RunTime:0.000477s ]
SELECT t.cate1,t.cate2,t.cate3,t.attachwidth,t.attachheight,t.status,if(t.attachsource=1,if(c_old.pinyin is not null,c_old.pinyin,c.pinyin),ys.pinyin) as pinyin,t.dateline,t.author,t.tid,t.authorid,t.price,t.keywords,t.attachsource,t.attachtype,t.redocn_tid,t.source_down_url,t.source,t.source_addtime,t.money_type,t.money,t.mode,t.attach_unit,t.downloads,t.fid,t.subject,t.width_t,t.height_t,t.image_small,t.image,t.filesize,t.fid0,t.downloads FROM tupian.cdb_sucai_main t LEFT JOIN tupian.cdb_sucai_categorys_new c on t.cate1=c.fid LEFT JOIN tupian.cdb_sucai_categorys c_old on t.fid0=c_old.fid LEFT JOIN tupian.cdb_sucai_yscategorys ys on t.fid0=ys.fid WHERE ( t.tid=394051 and t.status=1 ) LIMIT 1 [ RunTime:0.000454s ]
SELECT uid,username,headimgurl FROM tupian.cdb_sucai_members WHERE uid=11421609 [ RunTime:0.000247s ]
select fid,type,name,pinyin from `cdb_sucai_categorys_new` where fid in(6,32,234) order by fup asc [ RunTime:0.000342s ]
SELECT * FROM `cdb_sucai_attachtypes` [ RunTime:0.000253s ]
SELECT t.cate1,t.cate2,t.cate3,t.status,if(t.attachsource=1,c.pinyin,ys.pinyin) as pinyin,t.tid,t.keywords,t.source_down_url,t.source,t.source_addtime,t.money_type,t.money,t.price,t.mode,t.downloads,t.fid,t.attachsource,t.subject,t.width_t,t.height_t,t.image_small,t.fid0,t.dateline FROM cdb_sucai_main as t LEFT JOIN tupian.cdb_sucai_categorys c on t.fid0=c.fid LEFT JOIN tupian.cdb_sucai_yscategorys ys on t.fid0=ys.fid WHERE ( t.fid0= and t.status=1 and t.attachsource = 1 ) ORDER BY t.reviewtime desc LIMIT 0,5 [ RunTime:0.000228s ]
SELECT t.cate1,t.cate2,t.cate3,t.attachwidth,t.attachheight,t.status,if(t.attachsource=1,if(c_old.pinyin is not null,c_old.pinyin,c.pinyin),ys.pinyin) as pinyin,t.dateline,t.author,t.tid,t.authorid,t.price,t.keywords,t.attachsource,t.attachtype,t.redocn_tid,t.source_down_url,t.source,t.source_addtime,t.money_type,t.money,t.mode,t.attach_unit,t.downloads,t.fid,t.subject,t.width_t,t.height_t,t.image_small,t.image,t.filesize,t.fid0,t.downloads FROM tupian.cdb_sucai_main as t LEFT JOIN tupian.cdb_sucai_categorys_new c on t.cate1=c.fid LEFT JOIN tupian.cdb_sucai_categorys c_old on t.fid0=c_old.fid LEFT JOIN tupian.cdb_sucai_yscategorys ys on t.fid0=ys.fid WHERE ( t.tid in (394045,394051,394167,394169,393031,393039,393065,393067,394043,153107,523246,514043,514357,441347,416185,402939,393037,393033,393069,393073,394049,394047,394173,393077,393057,393075,366189,162543,161379,161385,157063,156887,153083,84883,393035) and t.status=1 ) ORDER BY field("t.tid",394045,394051,394167,394169,393031,393039,393065,393067,394043,153107,523246,514043,514357,441347,416185,402939,393037,393033,393069,393073,394049,394047,394173,393077,393057,393075,366189,162543,161379,161385,157063,156887,153083,84883,393035) [ RunTime:0.000979s ]
select a.uid,a.real_name,a.username,a.job,a.province,a.city,a.headimgurl,a.down_notice,a.down_notice_status,a.down_notice_allow,b.init_price from cdb_sucai_members a left join cdb_sucai_members_redocn b on b.uid=a.uid where a.uid=11421609 [ RunTime:0.000348s ]
SELECT id FROM tupian.cdb_sucai_integral_praise WHERE uid = AND tid = 394051 [ RunTime:0.000172s ]
SELECT if(t.attachsource=1,if(c_old.pinyin is not null,c_old.pinyin,c.pinyin),ys.pinyin) as pinyin ,t.tid,t.subject,t.fid0,t.fid1,t.fid from tupian.cdb_sucai_main t
left join tupian.cdb_sucai_yscategorys ys on t.fid0=ys.fid
left join tupian.cdb_sucai_categorys c_old on t.fid0=c_old.fid
left join tupian.cdb_sucai_categorys_new c on t.cate1=c.fid
where t.status=1 order by t.tid DESC limit 30 [ RunTime:0.000678s ]