我论坛升完级后出现这样错误
SQL: DELETE FROM [Table]sessions WHERE sid='RDSpV1' OR lastactivity<(1204137564-) OR ('0'<>'0' AND uid='0') OR (uid='0' AND ip1='60' AND ip2='13' AND ip3='191' AND ip4='66' AND lastactivity>1204137564-60)
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 ') OR ('0'<>'0' AND uid='0') OR (uid='0' AND ip1='60' AND ip2='13' AND ip3='191' ' at line 1
Errno.: 1064