summaryrefslogtreecommitdiffstats
path: root/tests/auto/q3sqlcursor
diff options
context:
space:
mode:
authorBill King <bking@trolltech.com>2009-06-30 03:39:58 (GMT)
committerBill King <bking@trolltech.com>2009-06-30 03:41:40 (GMT)
commit5c23c8e36d07410e53026c7ddd19f00f9984a6e7 (patch)
tree63ce01f79a94a1962d2fa9212b0cc3dcc1f386c8 /tests/auto/q3sqlcursor
parente3c1039d4d10aa383a1f681e7dd9c1129d22d8ca (diff)
downloadQt-5c23c8e36d07410e53026c7ddd19f00f9984a6e7.zip
Qt-5c23c8e36d07410e53026c7ddd19f00f9984a6e7.tar.gz
Qt-5c23c8e36d07410e53026c7ddd19f00f9984a6e7.tar.bz2
Fixes more DB autotests for testing against SQL Server
Diffstat (limited to 'tests/auto/q3sqlcursor')
-rw-r--r--tests/auto/q3sqlcursor/tst_q3sqlcursor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/q3sqlcursor/tst_q3sqlcursor.cpp b/tests/auto/q3sqlcursor/tst_q3sqlcursor.cpp
index 2d89639..fa786f1 100644
--- a/tests/auto/q3sqlcursor/tst_q3sqlcursor.cpp
+++ b/tests/auto/q3sqlcursor/tst_q3sqlcursor.cpp
@@ -135,6 +135,7 @@ void tst_Q3SqlCursor::createTestTables( QSqlDatabase db )
if (tst_Databases::isSqlServer(db)) {
QVERIFY_SQL(q, exec("SET ANSI_DEFAULTS ON"));
+ QVERIFY_SQL(q, exec("SET IMPLICIT_TRANSACTIONS OFF"));
}
// please never ever change this table; otherwise fix all tests ;)