SQL: SELECT attach.aid, attach.attachment, t.tid, t.fid, t.subject FROM [Table]attachments attach LEFT JOIN [Table]threads t ON t.tid=attach.tid WHERE attach.readperm=0 AND t.displayorder>=0 AND attach.isimage=1 GROUP BY attach.tid ORDER BY attach.dateline DESC LIMIT 0, 50
Error: Table 'attach' is marked as crashed and should be repaired
Errno.: 1194
Similar error report has been dispatched to administrator before.