Database error: Invalid SQL: select * from product where product_id in ('23','6') and `status`='sale' and (start_time='real' or '2024-12-21 16:40:09'>=product.start_time) and (case when product.end_time = 'stock_zero' then (select sum(s.stock) from product_spec s where (s.product_id=product.product_id) ) > 0 else '2024-12-21 16:40:09'<=product.end_time end) order by rand() limit 0,4
Mysql error: 1030 (Got error 28 from storage engine)
SQL: select * from product where product_id in ('23','6') and `status`='sale' and (start_time='real' or '2024-12-21 16:40:09'>=product.start_time) and (case when product.end_time = 'stock_zero' then (select sum(s.stock) from product_spec s where (s.product_id=product.product_id) ) > 0 else '2024-12-21 16:40:09'<=product.end_time end) order by rand() limit 0,4
Session halted.