Всего выполнено запросов: 12 шт. за 10.9396 сек. Развернуть Закрыть

Ошибка в SQL запросе: SELECT CEILING(MAX((pv.price_course + pv.price_course * (IFNULL(c.rate,0))))) as `max_price`, FLOOR(MIN((pv.price_course + pv.price_course * (IFNULL(c.rate,0))))) as `min_price` FROM `mg_product` as p LEFT JOIN `mg_category` as c ON c.id = p.cat_id LEFT JOIN `mg_product_variant` pv ON pv.`product_id`=p.id WHERE p.activity = 1 AND (pv.count != 0 OR pv.count IS NULL) AND (p.cat_id IN (4898) or FIND_IN_SET(4898,p.`inside_cat`))
Lost connection to MySQL server during query

/var/www/profistroy.su/mg-core/models/catalog.php (line 1380)

/var/www/profistroy.su/mg-core/models/catalog.php (line 89)

/var/www/profistroy.su/mg-core/controllers/catalog.php (line 166)

/var/www/profistroy.su/mg-core/lib/moguta.php (line 0)

/var/www/profistroy.su/mg-core/mg-start.php (line 0)

/var/www/profistroy.su/index.php (line 90)