summaryrefslogtreecommitdiffstats
path: root/tests/auto/q3sqlselectcursor
diff options
context:
space:
mode:
authorBill King <bill.king@nokia.com>2009-10-14 13:54:05 +1000
committerBill King <bill.king@nokia.com>2009-10-14 13:57:07 +1000
commitc03d97cde16a398df8b4895672a94a015bf5ca5b (patch)
tree9570a348a340b084d87cf75e1e5ae766988c0c4c /tests/auto/q3sqlselectcursor
parent9d58da36c9790e60aead8de4477c80332d3e0a62 (diff)
Remove excess spam from autotests when postgresql creates primary indexes.
Diffstat (limited to 'tests/auto/q3sqlselectcursor')
-rw-r--r--tests/auto/q3sqlselectcursor/tst_q3sqlselectcursor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/q3sqlselectcursor/tst_q3sqlselectcursor.cpp b/tests/auto/q3sqlselectcursor/tst_q3sqlselectcursor.cpp
index 237f29d37e..68e8ce817c 100644
--- a/tests/auto/q3sqlselectcursor/tst_q3sqlselectcursor.cpp
+++ b/tests/auto/q3sqlselectcursor/tst_q3sqlselectcursor.cpp
@@ -107,6 +107,8 @@ void tst_Q3SqlSelectCursor::createTestTables( QSqlDatabase db )
if ( !db.isValid() )
return;
QSqlQuery q( db );
+ 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))
QVERIFY_SQL(q, exec( "create table " + qTableName( "qtest" ) + " ( id int not null, t_varchar varchar(40) not null,"