Commit 65cb0b51 authored by unknown's avatar unknown

ndb - bug#17380: Missing charset causes NDB Client to crash


ndb/src/ndbapi/NdbDictionaryImpl.cpp:
  check parseTableInfo return value to avoid coredump
  seen on solaris when charsets missing on client host
parent 273aa489
...@@ -1139,6 +1139,7 @@ NdbDictInterface::getTable(class NdbApiSignal * signal, ...@@ -1139,6 +1139,7 @@ NdbDictInterface::getTable(class NdbApiSignal * signal,
m_error.code= parseTableInfo(&rt, m_error.code= parseTableInfo(&rt,
(Uint32*)m_buffer.get_data(), (Uint32*)m_buffer.get_data(),
m_buffer.length() / 4, fullyQualifiedNames); m_buffer.length() / 4, fullyQualifiedNames);
if (rt != 0)
rt->buildColumnHash(); rt->buildColumnHash();
return rt; return rt;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment