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,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;
}
......
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