From 32b3a9fed23342cc28b57170c69e5e6892b87d1a Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 15 May 2006 20:24:50 +0200 Subject: [PATCH] ndb: dict cache reference not released as it should storage/ndb/src/ndbapi/DictCache.cpp: changed dbug printout --- storage/ndb/src/ndbapi/DictCache.cpp | 4 ++-- storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/storage/ndb/src/ndbapi/DictCache.cpp b/storage/ndb/src/ndbapi/DictCache.cpp index 43913d6c5be..47e48974449 100644 --- a/storage/ndb/src/ndbapi/DictCache.cpp +++ b/storage/ndb/src/ndbapi/DictCache.cpp @@ -134,8 +134,8 @@ void GlobalDictCache::printCache() const unsigned sz = vers->size(); for(unsigned i = 0; isetTable(tab); + releaseTableGlobal(*tab, 0); } - - ev->setTable(tab); + else + ev->setTable(tab); + tab = 0; ev->setTable(m_ndb.externalizeTableName(ev->getTableName())); // get the columns from the attrListBitmask