Comment that will run queries depending on the version of MySQL being used don't appear to be being parsed correctly at times...of the following 2 lines the first works fine but the second produces an error.
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT; */
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
The error for the second command (which executes OK when run directly on the MySQL command line) is as follows...
[2014-08-19 09:51:48]  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 '/' at line 1