diff options
author | Honglei Zhang <honglei.zhang@nokia.com> | 2012-03-07 12:02:02 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-02 23:06:30 +0200 |
commit | 50ad785bdd38fcff9c47125fc545762435aaa158 (patch) | |
tree | a5ff6f76544d0a223a4efe7da87bd2e6f5d1d3e6 /doc | |
parent | 1967c147373be39f3e9f38967044812ce13ad10e (diff) |
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>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions