summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsqlquery
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qsqlquery')
-rw-r--r--tests/auto/qsqlquery/tst_qsqlquery.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/qsqlquery/tst_qsqlquery.cpp b/tests/auto/qsqlquery/tst_qsqlquery.cpp
index 4b41eaf..30b85e8 100644
--- a/tests/auto/qsqlquery/tst_qsqlquery.cpp
+++ b/tests/auto/qsqlquery/tst_qsqlquery.cpp
@@ -295,6 +295,9 @@ void tst_QSqlQuery::dropTestTables( QSqlDatabase db )
<< qTableName( "blobstest" )
<< qTableName( "oraRowId" );
+ if ( db.driverName().startsWith("QPSQL") )
+ tablenames <<"task_233829";
+
if ( db.driverName().startsWith("QSQLITE") )
tablenames << qTableName( "record_sqlite" );
@@ -2839,7 +2842,6 @@ void tst_QSqlQuery::task_233829()
q.bindValue(0,0.0 / k); // nan
q.bindValue(1,0.0 / k); // nan
QVERIFY_SQL(q,exec());
- q.exec("DROP TABLE " + tableName);
}
QTEST_MAIN( tst_QSqlQuery )