From 56a4c21d98336c73e99d22ed94311a359812dcca Mon Sep 17 00:00:00 2001 From: "joreland@mysql.com" <> Date: Thu, 9 Dec 2004 17:03:48 +0100 Subject: [PATCH] ndb - Fix alloc/dealloc of pseudo ROW_SIZE --- ndb/src/ndbapi/NdbDictionaryImpl.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ndb/src/ndbapi/NdbDictionaryImpl.cpp b/ndb/src/ndbapi/NdbDictionaryImpl.cpp index b066469bb9e..f56c3ce94c2 100644 --- a/ndb/src/ndbapi/NdbDictionaryImpl.cpp +++ b/ndb/src/ndbapi/NdbDictionaryImpl.cpp @@ -621,9 +621,11 @@ NdbDictionaryImpl::~NdbDictionaryImpl() delete NdbDictionary::Column::FRAGMENT; delete NdbDictionary::Column::ROW_COUNT; delete NdbDictionary::Column::COMMIT_COUNT; + delete NdbDictionary::Column::ROW_SIZE; NdbDictionary::Column::FRAGMENT= 0; NdbDictionary::Column::ROW_COUNT= 0; NdbDictionary::Column::COMMIT_COUNT= 0; + NdbDictionary::Column::ROW_SIZE= 0; } m_globalHash->unlock(); } else { @@ -690,6 +692,8 @@ NdbDictionaryImpl::setTransporter(class Ndb* ndb, NdbColumnImpl::create_psuedo("NDB$ROW_COUNT"); NdbDictionary::Column::COMMIT_COUNT= NdbColumnImpl::create_psuedo("NDB$COMMIT_COUNT"); + NdbDictionary::Column::ROW_SIZE= + NdbColumnImpl::create_psuedo("NDB$ROW_SIZE"); } m_globalHash->unlock(); return true; -- 2.30.9