qt5base-lts/tests/auto/sql
Honglei Zhang 50ad785bdd Convert Boolean value into integer
According to documentation, SQLite doesn't have a separate Boolean
storage class. Instead, values are stored as integers 0(false) and
1(true). In QSqlQuery::bindValue(), if a boolean value is bound
to a placeholder, it is converted to text true and false. This fix
converts boolean value to integer 0 and 1.

Task-number: QTBUG-23895
Change-Id: I4945971172f0b5e5819446700390033a1a4ce301
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
Reviewed-by: Mark Brand <mabrand@mabrand.nl>
2012-04-02 23:06:30 +02:00
..
kernel Convert Boolean value into integer 2012-04-02 23:06:30 +02:00
models Fix crash when an invalid filter is set 2012-03-30 19:51:43 +02:00
sql.pro Moved sql autotests into new directory structure 2011-09-06 09:32:15 +02:00