[z1858] Fix SqlStatement::addBool

MYSQL_TYPE_BIT is not one of the allowable input values, so we have to pass it using an integer variable

Signed-off-by: SilverIce <slifeleaf@gmail.com>

(based on commit abb0c07)

(cleaned version of 7106a1e)

(based on commit [s1420] - c2dea60)