From ea0e0286158940fa9a6f828741bdcb62fac2e08f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 29 Nov 2013 22:35:47 +0000 Subject: missing settings are not cached anymore, it's just a waste of memory git-svn-id: http://svn.miranda-ng.org/main/trunk@7017 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Db3x_mmap/src/dbsettings.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'plugins/Db3x_mmap/src') diff --git a/plugins/Db3x_mmap/src/dbsettings.cpp b/plugins/Db3x_mmap/src/dbsettings.cpp index cd7d8799a4..cd5a246264 100644 --- a/plugins/Db3x_mmap/src/dbsettings.cpp +++ b/plugins/Db3x_mmap/src/dbsettings.cpp @@ -229,15 +229,6 @@ int CDb3Base::GetContactSettingWorker(HANDLE hContact, DBCONTACTGETSETTING *dbcg } } - /**** add missing setting to cache **********************/ - if (dbcgs->pValue->type != DBVT_BLOB) { - DBVARIANT *pCachedValue = m_cache->GetCachedValuePtr(hContact, szCachedSettingName, 1); - if (pCachedValue != NULL) { - pCachedValue->type = DBVT_DELETED; - log3("set missing [%08p] %s (%p)", hContact, szCachedSettingName, pCachedValue); - } - } - logg(); return 1; } -- cgit v1.2.3