Error: Got error 28 from storage engine
SELECT b.* FROM `dir_banners_categories` bc LEFT JOIN `dir_banners` b ON bc.banner_id=b.id
WHERE
position='top' AND bc.category_id='212'
OR
b.recursive='1' AND bc.category_id IN(0,210) AND status='active' AND position='top' ORDER BY RAND() LIMIT 0, 1