diff options
author | Bill King <bking@trolltech.com> | 2009-06-30 13:39:58 +1000 |
---|---|---|
committer | Bill King <bking@trolltech.com> | 2009-06-30 13:41:40 +1000 |
commit | 5c23c8e36d07410e53026c7ddd19f00f9984a6e7 (patch) | |
tree | 63ce01f79a94a1962d2fa9212b0cc3dcc1f386c8 /tests/auto/q3sqlcursor | |
parent | e3c1039d4d10aa383a1f681e7dd9c1129d22d8ca (diff) |
Fixes more DB autotests for testing against SQL Server
Diffstat (limited to 'tests/auto/q3sqlcursor')
-rw-r--r-- | tests/auto/q3sqlcursor/tst_q3sqlcursor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/q3sqlcursor/tst_q3sqlcursor.cpp b/tests/auto/q3sqlcursor/tst_q3sqlcursor.cpp index 2d89639b5b..fa786f1cc3 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 ;) |