MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
144 - Table './lg/mybb_posts' is marked as crashed and last (automatic?) repair failed
Query:
SELECT pid FROM mybb_posts WHERE tid=30 AND visible=1 ORDER BY dateline DESC LIMIT 0, 1