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 t.threadid IN (0,35) AND p.visible=1
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:21
Script: /forum/search.php?action=polls&sid=a2c879609a63a517d6b502ed699afe69
Referer: