test cases to describe the MySQL boolean behavior.
Unifies mysql and mysql2 casting of booleans.
Merge pull request #12425 from senny/mysql_booleans

Unify boolean quoting for Mysql- and Mysql2Adapter.