интернет-магазин товаров для животных, зоомагазин, доставка по томску и северску

  
1030 - Got error 28 from storage engine

select count(*) as total from (select * from (select p.products_image, p.products_weight, pd.products_name, ps.products_quantity, p.products_id, SUBSTRING_INDEX(pd.products_description, ' ', 20) as products_description, p.manufacturers_id, ps.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, ps.products_price) as final_price from zoomarket.products_stores ps, zoomarket.products_description pd, zoomarket.products p left join zoomarket.manufacturers m on p.manufacturers_id = m.manufacturers_id left join zoomarket.specials s on p.products_id = s.products_id, zoomarket.products_to_categories p2c where p.products_id = ps.products_id and ps.shops_id = 2 and p.products_status = '1' and p.products_id = p2c.products_id and ps.products_price > 0 and pd.products_id = p2c.products_id and pd.language_id = '2' and p2c.categories_id = '363' order by products_name) a union all select * from (select p.products_image, p.products_weight, pd.products_name, ps.products_quantity, p.products_id, SUBSTRING_INDEX(pd.products_description, ' ', 20) as products_description, p.manufacturers_id, ps.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, ps.products_price) as final_price from zoomarket.products_stores ps, zoomarket.products_description pd, zoomarket.products p left join zoomarket.manufacturers m on p.manufacturers_id = m.manufacturers_id left join zoomarket.specials s on p.products_id = s.products_id, zoomarket.products_to_categories p2c where p.products_id = ps.products_id and ps.shops_id = 2 and p.products_status = '1' and p.products_id = p2c.products_id and ps.products_price = 0 and pd.products_id = p2c.products_id and pd.language_id = '2' and p2c.categories_id = '363' order by products_name) b ) ss

[TEP STOP]