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 uid='6' AND fid NOT IN ('4') ORDER BY dateline DESC