qt5base-lts/tests/auto/sql/kernel/qsqlerror
Marcel Krems 106316198d Enable QSqlError to handle alphanumeric error codes.
Some database systems (like PostgreSQL) use alphanumeric error codes.
Introduce a new method nativeErrorCode() which replaces number().
If the error code cannot be converted to int, number() will return 0.

Task-number: QTBUG-142
Change-Id: Ic7fba841737674b75c0c01c2263f51d2041da497
Reviewed-by: Mark Brand <mabrand@mabrand.nl>
2013-12-20 16:27:41 +01:00
..
.gitignore Moved sql autotests into new directory structure 2011-09-06 09:32:15 +02:00
qsqlerror.pro QtSql tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 14:42:15 +01:00
tst_qsqlerror.cpp Enable QSqlError to handle alphanumeric error codes. 2013-12-20 16:27:41 +01:00