Daniel Barrett wrote:
My instinct is this is a bug in MySQL, but I suppose there is a small chance MediaWiki is doing something weird. Anyone have any ideas what to check next?
Thanks, DanB
Some paranoic SQL injection system? If it detects vbr_drawstats as a table name, and the bunch of lines include SQL-like text, if there's some mod_security cousin there, it would be picking it.
Other than that, I can only give you a general advice of reducing the text to create a testcase.