summaryrefslogtreecommitdiff
path: root/src/modules/database
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/database')
-rw-r--r--src/modules/database/database.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/database/database.cpp b/src/modules/database/database.cpp
index 2e2adf9b50..05c9141a73 100644
--- a/src/modules/database/database.cpp
+++ b/src/modules/database/database.cpp
@@ -363,7 +363,7 @@ int tryOpenDatabase(const TCHAR *tszProfile)
bWasOpened = true;
// try to load database
- MIDatabase *pDb = p->Load(tszProfile);
+ MIDatabase *pDb = p->Load(tszProfile, FALSE);
if (pDb) {
fillProfileName(tszProfile);
currDblink = p;
@@ -387,7 +387,7 @@ static int tryCreateDatabase(const TCHAR* ptszProfile)
int err = p->makeDatabase(tszProfile);
if (err == ERROR_SUCCESS) {
g_bDbCreated = true;
- MIDatabase *pDb = p->Load(tszProfile);
+ MIDatabase *pDb = p->Load(tszProfile, FALSE);
if (pDb != NULL) {
fillProfileName(tszProfile);
currDblink = p;