summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ndb/src/ndbapi/NdbDictionaryImpl.cpp3
1 files changed, 2 insertions, 1 deletions
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;
}