branch | RCL_3 |
changeset 13 | c0432d11811c |
parent 7 | 3f74d0d4af4c |
--- a/src/sql/drivers/sqlite/qsql_sqlite.cpp Wed Apr 21 12:15:23 2010 +0300 +++ b/src/sql/drivers/sqlite/qsql_sqlite.cpp Wed Apr 21 20:15:53 2010 +0300 @@ -259,6 +259,7 @@ q->setAt(QSql::AfterLastRow); sqlite3_reset(stmt); return false; + case SQLITE_CONSTRAINT: case SQLITE_ERROR: // SQLITE_ERROR is a generic error code and we must call sqlite3_reset() // to get the specific error message.