summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-01-03 21:51:59 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-01-03 21:51:59 +0000
commit28e76fe970d185371b89681528529f485194b2b1 (patch)
tree4c8f580a1f50e5e6349078e17d8b7f8124379137 /src
parentda2a8fae5027d77b58c67a43480e747597f399b4 (diff)
dbchecker should be unloaded after database conversion
git-svn-id: http://svn.miranda-ng.org/main/trunk@11756 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-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 b52d8cd9b0..cd6e8f8460 100644
--- a/src/modules/database/database.cpp
+++ b/src/modules/database/database.cpp
@@ -491,8 +491,6 @@ int LoadDatabaseModule(void)
if (!getProfile(szProfile, SIZEOF(szProfile)))
return 1;
- EnsureCheckerLoaded(false); // unload dbchecker
-
if (arDbPlugins.getCount() == 0) {
TCHAR buf[256];
TCHAR *p = _tcsrchr(szProfile, '\\');
@@ -529,6 +527,8 @@ int LoadDatabaseModule(void)
}
while (retry);
+ EnsureCheckerLoaded(false); // unload dbchecker
+
if (rc == ERROR_SUCCESS) {
InitIni();
return 0;