SQL-DATABASE ERROR

Database error in WoltLab Burning Board (2.3.6): Invalid SQL: SELECT p.postid FROM bb1_posts p, bb1_threads t WHERE p.threadid=t.threadid AND p.visible=1 AND p.posttime>'1510892289'
mysql error: Table './usr_web1_1/bb1_posts' is marked as crashed and should be repaired
mysql error number: 145
mysql version: 5.0.32-Debian_7etch5
php version: 5.2.0-8+etch10
Date: 18.11.2017 @ 05:18
Script: /forum/search.php?action=24h&sid=a2c879609a63a517d6b502ed699afe69
Referer: