summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@qt.io>2016-12-21 14:06:20 +0100
committerJake Petroules <jake.petroules@qt.io>2017-09-18 21:06:49 +0000
commit3c95c748e065fa9245531cc1c9c2cca050d7ad11 (patch)
tree24b14595b4800b13d3d3c83aa9edfac7dede242a
parent2d168af7d7f5fd175558e69a3f735700bfc52bf4 (diff)
Fix recordOCI() test to treat clob/nclob as QByteArray
Change-Id: I0315b23dad66f98fc681c624d4afa8b5abb54a7b Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
-rw-r--r--tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp b/tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp
index d7772f5c34..932806d017 100644
--- a/tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp
+++ b/tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp
@@ -750,8 +750,8 @@ void tst_QSqlDatabase::recordOCI()
FieldDef("long raw", QVariant::ByteArray, QByteArray("blah5")),
FieldDef("raw(2000)", QVariant::ByteArray, QByteArray("blah6"), false),
FieldDef("blob", QVariant::ByteArray, QByteArray("blah7")),
- FieldDef("clob", QVariant::String, QString("blah8")),
- FieldDef("nclob", QVariant::String, QString("blah9")),
+ FieldDef("clob", QVariant::ByteArray, QByteArray("blah8")),
+ FieldDef("nclob", QVariant::ByteArray, QByteArray("blah9")),
// FieldDef("bfile", QVariant::ByteArray, QByteArray("blah10")),
intytm,