summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);