diff options
author | Christian Kamm <kamm@incasoftware.de> | 2014-12-04 15:55:58 +0300 |
---|---|---|
committer | Christian Kamm <kamm@incasoftware.de> | 2014-12-04 17:35:55 +0300 |
commit | 40f44c23890dd5fca86928b0f7c0d3f4218b7fc4 (patch) | |
tree | f28f9211fd867773f66c66f5cfece9781728fc67 /test | |
parent | 441b5bd1dc3e862aec98161c8ea780bc7e846828 (diff) |
DB: Delete corrupt database. #2547
* Also use readonly DB access for SocketAPI.
Diffstat (limited to 'test')
-rw-r--r-- | test/testownsql.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testownsql.h b/test/testownsql.h index c3f79f4d6..b59a84ab1 100644 --- a/test/testownsql.h +++ b/test/testownsql.h @@ -42,7 +42,7 @@ private slots: void testOpenDb() { QFileInfo fi( testdbC ); QVERIFY( !fi.exists() ); // must not exist - _db.open(testdbC); + _db.openOrCreateReadWrite(testdbC); fi.refresh(); QVERIFY(fi.exists()); |