From 28e76fe970d185371b89681528529f485194b2b1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 3 Jan 2015 21:51:59 +0000 Subject: dbchecker should be unloaded after database conversion git-svn-id: http://svn.miranda-ng.org/main/trunk@11756 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/database/database.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; -- cgit v1.2.3