Commit 65cb0b51 authored by unknown's avatar unknown
Browse files

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
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1139,6 +1139,7 @@ NdbDictInterface::getTable(class NdbApiSignal * signal,
  m_error.code= parseTableInfo(&rt, 
			       (Uint32*)m_buffer.get_data(), 
			       m_buffer.length() / 4, fullyQualifiedNames);
  if (rt != 0)
    rt->buildColumnHash();
  return rt;
}