diff options
author | Bill King <bill.king@nokia.com> | 2009-12-17 03:49:31 (GMT) |
---|---|---|
committer | Bill King <bill.king@nokia.com> | 2009-12-17 03:49:31 (GMT) |
commit | 65fe21e8c1cfb70e5b763818928c6570bb67b5e3 (patch) | |
tree | 3928b5b9278b7225174f34f3c8d2e990f935603b /tests/auto/qsqldatabase/tst_qsqldatabase.cpp | |
parent | b745c926f6fceed7a7d7078c0923bb8ab8e3019c (diff) | |
download | Qt-65fe21e8c1cfb70e5b763818928c6570bb67b5e3.zip Qt-65fe21e8c1cfb70e5b763818928c6570bb67b5e3.tar.gz Qt-65fe21e8c1cfb70e5b763818928c6570bb67b5e3.tar.bz2 |
(OCI) Fixes problem with clobs being handled as binary
CLOB/NCLOB/LONG are actually strings, so treat them as such.
Task-number: QTBUG-4461
Reviewed-by: Justin McPherson
Diffstat (limited to 'tests/auto/qsqldatabase/tst_qsqldatabase.cpp')
-rw-r--r-- | tests/auto/qsqldatabase/tst_qsqldatabase.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qsqldatabase/tst_qsqldatabase.cpp b/tests/auto/qsqldatabase/tst_qsqldatabase.cpp index cb4e103..4f89708 100644 --- a/tests/auto/qsqldatabase/tst_qsqldatabase.cpp +++ b/tests/auto/qsqldatabase/tst_qsqldatabase.cpp @@ -942,9 +942,9 @@ void tst_QSqlDatabase::recordOCI() FieldDef("raw(2000)", QVariant::ByteArray, QByteArray(Q3CString("blah6")), false), FieldDef("blob", QVariant::ByteArray, QByteArray(Q3CString("blah7"))), #endif -//FIXME FieldDef("clob", QVariant::CString, Q3CString("blah8")), -//FIXME FieldDef("nclob", QVariant::CString, Q3CString("blah9")), -//X FieldDef("bfile", QVariant::ByteArray, QByteArray(Q3CString("blah10"))), + FieldDef("clob", QVariant::String, QString("blah8")), + FieldDef("nclob", QVariant::String, QString("blah9")), + FieldDef("bfile", QVariant::ByteArray, QByteArray("blah10")), intytm, intdts, |