diff options
author | Bill King <bill.king@nokia.com> | 2009-07-13 05:21:01 (GMT) |
---|---|---|
committer | Bill King <bill.king@nokia.com> | 2009-07-13 05:21:01 (GMT) |
commit | 049ff0b4f74400ab3c8571f6ba3a73106ca3a9dd (patch) | |
tree | f74727c87bf58655170da76743ec57ba257838a6 | |
parent | c2f6c3eb4381a987df47601fcbab4e3a98d40813 (diff) | |
download | Qt-049ff0b4f74400ab3c8571f6ba3a73106ca3a9dd.zip Qt-049ff0b4f74400ab3c8571f6ba3a73106ca3a9dd.tar.gz Qt-049ff0b4f74400ab3c8571f6ba3a73106ca3a9dd.tar.bz2 |
Fixes autotest to match the new code (db level precisionPolicy).
-rw-r--r-- | tests/auto/qsqldatabase/tst_qsqldatabase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qsqldatabase/tst_qsqldatabase.cpp b/tests/auto/qsqldatabase/tst_qsqldatabase.cpp index 82e25d7..994a3d7 100644 --- a/tests/auto/qsqldatabase/tst_qsqldatabase.cpp +++ b/tests/auto/qsqldatabase/tst_qsqldatabase.cpp @@ -918,7 +918,7 @@ void tst_QSqlDatabase::recordOCI() FieldDef("varchar(20)", QVariant::String, QString("blah2")), FieldDef("nchar(20)", QVariant::String, QString("blah3")), FieldDef("nvarchar2(20)", QVariant::String, QString("blah4")), - FieldDef("number(10,5)", QVariant::String, 1.1234567), + FieldDef("number(10,5)", QVariant::Double, 1.1234567), FieldDef("date", QVariant::DateTime, dt), #ifdef QT3_SUPPORT //X? FieldDef("long raw", QVariant::ByteArray, QByteArray(Q3CString("blah5"))), |