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

it's an int between 0 and 127