summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBill King <bill.king@nokia.com>2009-07-13 05:21:01 (GMT)
committerBill King <bill.king@nokia.com>2009-07-13 05:21:01 (GMT)
commit049ff0b4f74400ab3c8571f6ba3a73106ca3a9dd (patch)
treef74727c87bf58655170da76743ec57ba257838a6 /tests
parentc2f6c3eb4381a987df47601fcbab4e3a98d40813 (diff)
downloadQt-049ff0b4f74400ab3c8571f6ba3a73106ca3a9dd.zip
Qt-049ff0b4f74400ab3c8571f6ba3a73106ca3a9dd.tar.gz
Qt-049ff0b4f74400ab3c8571f6ba3a73106ca3a9dd.tar.bz2
Fixes autotest to match the new code (db level precisionPolicy).
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qsqldatabase/tst_qsqldatabase.cpp2
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"))),