数据库错误: [Incorrect key file for table '/tmp/#sql_8b8c9_0.MYI'; try to repair it]
SELECT count(*) FROM (SELECT * FROM `demo_product` where 1=1 ORDER BY CASE ordering WHEN 0 THEN id ELSE ordering END DESC) AS `product` WHERE (`channelId` IN (708) OR INSTR(REPLACE(CONCAT("'",categoryId,"'"),",","','"),"'708'")>0)
数据库错误: [Incorrect key file for table '/tmp/#sql_8b8c9_0.MYI'; try to repair it]
select count(*) from (select * from `demo_product` where 1=1 order by case ordering when 0 then id else ordering end desc) as `product` where (`channelid` in (708) or instr(replace(concat("'",categoryid,"'"),",","','"),"'708'")>0)
数据库错误: [Incorrect key file for table '/tmp/#sql_8b8c9_0.MYI'; try to repair it]
SELECT count(*) FROM (SELECT * FROM `demo_product` where 1=1 ORDER BY CASE ordering WHEN 0 THEN id ELSE ordering END DESC) AS `product` WHERE (`channelId` IN (708) OR INSTR(REPLACE(CONCAT("'",categoryId,"'"),",","','"),"'708'")>0) order by ordering DESC,id desc limit 0,12
数据库错误: [Incorrect key file for table '/tmp/#sql_8b8c9_0.MYI'; try to repair it]
select * from (select * from `demo_product` where 1=1 order by case ordering when 0 then id else ordering end desc) as `product` where (`channelid` in (708) or instr(replace(concat("'",categoryid,"'"),",","','"),"'708'")>0)
数据库错误: [Incorrect key file for table '/tmp/#sql_8b8c9_0.MYI'; try to repair it]
SELECT * FROM (SELECT * FROM `demo_product` where 1=1 ORDER BY CASE ordering WHEN 0 THEN id ELSE ordering END DESC) AS `product` WHERE (`channelId` IN (708) OR INSTR(REPLACE(CONCAT("'",categoryId,"'"),",","','"),"'708'")>0) order by ordering DESC,id desc limit 0,12
语言 
中文
EN
RU