Fixes #2236 - in mysql tinyint(1) is not boolean

it's an int between 0 and 127
Merge pull request #2255 from ogarbe/1.3.1

Fixes #2236 - in mysql tinyint(1) is not boolean