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 '1254946465 WHERE expire != 0 AND expire < 1254989771' at line 1 query: DELETE FROM 1254946465 WHERE expire != 0 AND expire < 1254989771 in .../modules/cache/engines/database.inc on line 69.

I found the thread for a similar error to this (http://drupal.org/node/577396), but although the thread date is after the creation / edit date of cache/cache.inc I cannot find the same flush command in that file which seemed to be related to this problem. So I presume it has been updated.

It may or may not be related to this. I have no idea.

But any help making it go away would be appreciated. :)