Cyask! info: MySQL Query Error

Time: 2019-12-10 5:43am
Script:

SQL: select * from hzty.gb_message as a where (a.recid=0 or a.recid=) and a.mstatus=0
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') and a.mstatus=0' at line 1
Errno.: 1064