SELECT s.id, s.host_id, h.https, h.domain, h.wait_time, h.generic, s.key, h.html5 FROM sources s, hosts h WHERE s.e_id=1341 AND s.host_id=h.id AND s.state!=1 AND h.enabled=1 ORDER BY h.html5 DESC, s.host_id ASC
Got error 28 from storage engine