diff options
author | Bill King <bill.king@nokia.com> | 2009-11-05 04:21:36 (GMT) |
---|---|---|
committer | Bill King <bill.king@nokia.com> | 2009-11-05 04:21:36 (GMT) |
commit | aa58293b57a05cd52b36ba14a05958dceb65c603 (patch) | |
tree | e23ba296f3d84ec460493160d305dc7a0feff25d /tests/auto/qsqlrelationaltablemodel | |
parent | c416d0d026377a5c8659abbd12cb4a8eab7c7264 (diff) | |
download | Qt-aa58293b57a05cd52b36ba14a05958dceb65c603.zip Qt-aa58293b57a05cd52b36ba14a05958dceb65c603.tar.gz Qt-aa58293b57a05cd52b36ba14a05958dceb65c603.tar.bz2 |
Cascade delete to cleanup autotest properly.
Task-number: QTBUG-5373
Diffstat (limited to 'tests/auto/qsqlrelationaltablemodel')
-rw-r--r-- | tests/auto/qsqlrelationaltablemodel/tst_qsqlrelationaltablemodel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qsqlrelationaltablemodel/tst_qsqlrelationaltablemodel.cpp b/tests/auto/qsqlrelationaltablemodel/tst_qsqlrelationaltablemodel.cpp index e045c10..8c840cd 100644 --- a/tests/auto/qsqlrelationaltablemodel/tst_qsqlrelationaltablemodel.cpp +++ b/tests/auto/qsqlrelationaltablemodel/tst_qsqlrelationaltablemodel.cpp @@ -184,8 +184,8 @@ void tst_QSqlRelationalTableModel::dropTestTables( QSqlDatabase db ) << qTableName("casetest1" ); tst_Databases::safeDropTables( db, tableNames ); - db.exec("DROP SCHEMA "+qTableName("QTBUG_5373")); - db.exec("DROP SCHEMA "+qTableName("QTBUG_5373_s2")); + db.exec("DROP SCHEMA "+qTableName("QTBUG_5373")+" CASCADE"); + db.exec("DROP SCHEMA "+qTableName("QTBUG_5373_s2")+" CASCADE"); } void tst_QSqlRelationalTableModel::init() |