Add two enums that weren't handled in the ibase SQL driver

qsql_ibase.cpp:1155:23: error: enumeration value ‘LowPrecisionDouble’ not handled in switch [-Werror=switch]
qsql_ibase.cpp:1419:12: error: enumeration value ‘CancelQuery’ not handled in switch [-Werror=switch]

Change-Id: I3c6102051cde80c81948f5a64f9addcf7a371136
Reviewed-by: Mark Brand <mabrand@mabrand.nl>
This commit is contained in:
Thiago Macieira 2013-09-21 13:36:01 -07:00 committed by The Qt Project
parent 2b01ffe552
commit 08f685e865

View File

@ -1162,6 +1162,9 @@ bool QIBaseResult::gotoNext(QSqlCachedResult::ValueCache& row, int rowIdx)
case QSql::HighPrecision:
v.convert(QVariant::String);
break;
case QSql::LowPrecisionDouble:
// no conversion
break;
}
}
row[idx] = v;
@ -1424,6 +1427,7 @@ bool QIBaseDriver::hasFeature(DriverFeature f) const
case SimpleLocking:
case FinishQuery:
case MultipleResultSets:
case CancelQuery:
return false;
case Transactions:
case PreparedQueries: