array(3) {
  ["message"]=>
  string(120) "SQLSTATE[HY000]: General error: 1030 Got error 175 "File too short; Expected more data in file" from storage engine Aria"
  ["function"]=>
  string(6) "select"
  ["sql"]=>
  string(991) "
			select
				children.* ,
				IF(c_user_session_cart.id>0, 1, 0) as _cart,
				children._description as _description, 
				children._title as _title, 
				parent.price_global,
				parent.price2_global,
				IF(children.discount>0, children.discount, parent.discount_global) as discount,
				parent.demand,
				(select hash from c_img_warehouse where code = children.code order by name_file asc limit 1) as _img
			FROM aa_part_code children
left join aa_part_code parent ON parent.code = children.code_parent
left join c_user_session_cart ON CAST(children.code AS SIGNED) = c_user_session_cart.code and c_user_session_cart.sid = ''
			where 
(children.is_moderation=1) and 
(children.type='item') and 
(children.brand in ('bmw','lr')) and 
(parent.is_upload = 1) and 
(children._description != '') and 
(children._title != '') and 
((select count(*) from c_img_warehouse where code = children.code) > 0) and 
(children.sold=0) and 
(children.carident = 'C4') 

			order by rand() limit 8
		"
}