• Honglei Zhang's avatar
    Convert Boolean value into integer · 50ad785b
    Honglei Zhang authored
    
    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: default avatarMichael Goddard <michael.goddard@nokia.com>
    Reviewed-by: default avatarMark Brand <mabrand@mabrand.nl>
    50ad785b