Fixing boolean type introspection for Mysql in PHP 5.5