qt5base-lts/tests/auto/sql/kernel
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
..
qsql Make tst_qsql.cpp independent of QtWidgets 2012-03-11 00:08:33 +01:00
qsqldatabase Add payload to QSqlDriver notification with PSQL implementation. 2012-03-31 08:40:55 +02:00
qsqldriver Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qsqlerror Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qsqlfield Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qsqlquery Convert Boolean value into integer 2012-04-02 23:06:30 +02:00
qsqlrecord Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qsqlthread Fix compilation of tst_QSqlThread: no need to use QBasicAtomicInt here 2012-03-24 17:07:52 +01:00
kernel.pro Fix tst_qsql crashes on Mac OS X 2011-12-02 17:35:11 +01:00