SQL: SELECT a.aid, a.attachment, a.remote, t.tid, t.subject
FROM [Table]attachments a
INNER JOIN [Table]threads t ON t.tid=a.tid AND displayorder>='0'
WHERE a.readperm='0' AND a.isimage='1' AND (a.filetype IN ('image/pjpeg','image/png') OR a.attachment LIKE '%.jpg' OR a.attachment LIKE '%.png' OR a.attachment LIKE '%.jpeg') AND a.dateline>1254366219 GROUP BY a.tid
ORDER BY a.dateline DESC
LIMIT 0, 30;
Error: Got error 22 from storage engine
Errno.: 1030
Similar error report has been dispatched to administrator before.