I think the following MySQL bug is the root cause of the error: http://bugs.mysql.com/bug.php?id=17343