From 825f97c7b52f04a712f8136fefe0822f968ce6e6 Mon Sep 17 00:00:00 2001 From: "pekka@mysql.com" <> Date: Mon, 27 Mar 2006 13:16:53 +0200 Subject: [PATCH] ndb - bug#17380: Missing charset causes NDB Client to crash --- ndb/src/ndbapi/NdbDictionaryImpl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ndb/src/ndbapi/NdbDictionaryImpl.cpp b/ndb/src/ndbapi/NdbDictionaryImpl.cpp index 8f37c9fe4a0..da344dc6164 100644 --- a/ndb/src/ndbapi/NdbDictionaryImpl.cpp +++ b/ndb/src/ndbapi/NdbDictionaryImpl.cpp @@ -1139,7 +1139,8 @@ NdbDictInterface::getTable(class NdbApiSignal * signal, m_error.code= parseTableInfo(&rt, (Uint32*)m_buffer.get_data(), m_buffer.length() / 4, fullyQualifiedNames); - rt->buildColumnHash(); + if (rt != 0) + rt->buildColumnHash(); return rt; }