Последние фото

SELECT * FROM photos WHERE p_ps_id='266' ORDER BY RAND() LIMIT 1
Got error 28 from storage engine