summaryrefslogtreecommitdiff
path: root/src/modules/database
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-02-28 13:47:30 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-02-28 13:47:30 +0000
commit7b44e3c9879ed7cb1ab3f64b829e0c0b09c6ffae (patch)
treec9a60d83c424368eeb11264bc7b86ad2e66f7c26 /src/modules/database
parent4bea1d8383c8d8461668e74204029e1ea9b1d75b (diff)
bugfix: AutoExec/OnCreateFilename setting in mirandaboot.ini doesn't work when AutoCreate=yes
git-svn-id: http://svn.miranda-ng.org/main/trunk@3805 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/database')
-rw-r--r--src/modules/database/database.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/database/database.cpp b/src/modules/database/database.cpp
index e584e8d187..168a6d5f27 100644
--- a/src/modules/database/database.cpp
+++ b/src/modules/database/database.cpp
@@ -428,6 +428,7 @@ static int tryCreateDatabase(const TCHAR* ptszProfile)
int err = p->makeDatabase(tszProfile);
if (err == ERROR_SUCCESS) {
+ dbCreated = true;
MIDatabase *pDb = p->Load(tszProfile);
if (pDb != NULL) {
fillProfileName(tszProfile);