diff options
author | Bill King <bill.king@nokia.com> | 2009-10-14 03:54:05 (GMT) |
---|---|---|
committer | Bill King <bill.king@nokia.com> | 2009-10-14 03:57:07 (GMT) |
commit | c03d97cde16a398df8b4895672a94a015bf5ca5b (patch) | |
tree | 9570a348a340b084d87cf75e1e5ae766988c0c4c /tests/auto/q3sqlcursor | |
parent | 9d58da36c9790e60aead8de4477c80332d3e0a62 (diff) | |
download | Qt-c03d97cde16a398df8b4895672a94a015bf5ca5b.zip Qt-c03d97cde16a398df8b4895672a94a015bf5ca5b.tar.gz Qt-c03d97cde16a398df8b4895672a94a015bf5ca5b.tar.bz2 |
Remove excess spam from autotests when postgresql creates primary indexes.
Diffstat (limited to 'tests/auto/q3sqlcursor')
-rw-r--r-- | tests/auto/q3sqlcursor/tst_q3sqlcursor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/q3sqlcursor/tst_q3sqlcursor.cpp b/tests/auto/q3sqlcursor/tst_q3sqlcursor.cpp index 6b580df..ecc0594 100644 --- a/tests/auto/q3sqlcursor/tst_q3sqlcursor.cpp +++ b/tests/auto/q3sqlcursor/tst_q3sqlcursor.cpp @@ -137,6 +137,8 @@ void tst_Q3SqlCursor::createTestTables( QSqlDatabase db ) QVERIFY_SQL(q, exec("SET ANSI_DEFAULTS ON")); QVERIFY_SQL(q, exec("SET IMPLICIT_TRANSACTIONS OFF")); } + else if(tst_Databases::isPostgreSQL(db)) + QVERIFY_SQL( q, exec("set client_min_messages='warning'")); // please never ever change this table; otherwise fix all tests ;) if ( tst_Databases::isMSAccess( db ) ) { |