diff options
author | George Hazan <george.hazan@gmail.com> | 2013-11-29 22:35:47 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-11-29 22:35:47 +0000 |
commit | ea0e0286158940fa9a6f828741bdcb62fac2e08f (patch) | |
tree | 810d8b9d959702a9ef22c15652a63d2044e1b848 /plugins | |
parent | 0379b919d4272156375cfa29ee09b5b829a3699a (diff) |
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
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Db3x_mmap/src/dbsettings.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
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;
}
|