Thread:Extension talk:CheckUser/MySQL warning: Unsafe statement/reply

Use SHOW TABLES and DESCRIBE (http://dev.mysql.com/doc/refman/5.0/en/describe.html). I bet you have innoDB and myISAM tables mixed in or something.