Error SQL:


QUERY:
SELECT COUNT(catalog.id) AS count, MIN(NULLIF(catalog.text_price, 0)) AS minprice FROM `sh_ru_catalog` AS catalog LEFT JOIN `sh_ru_catalog_cat` AS catalog_cat ON catalog.id = catalog_cat.parent WHERE catalog.check_active = 1 AND (catalog_cat.text_name IN ( SELECT `id` FROM `sh_ru_cat` WHERE `parent` = '2011' ) OR catalog_cat.text_name = '2011')
MYSQL Error:MySQL server has gone away