MySQL encountered the following error: Table 'p' is marked as crashed and should be repaired
In the following query: SELECT count(p.pid) as posts, t.tid, t.subject, t.author, t.lastpost, t.icon, t.replies, t.views, t.closed, f.fid, f.name FROM xmb_threads t, xmb_forums f, xmb_posts p WHERE f.fid IN (4, 94, 13, 12, 15, 33, 34, 39, 30, 35, 36, 37, 38, 43, 47, 51, 55, 56, 57, 58, 59, 63, 64, 65, 76, 69, 71, 74, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 91, 92) AND t.fid=f.fid and t.fid NOT IN(33,34,35,36,37,38) AND t.lastpost >= '1231454969' AND p.tid=t.tid GROUP BY t.tid ORDER BY t.lastpost DESC LIMIT 0, 5