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

This commit is contained in:
pekka@mysql.com 2006-03-27 13:16:53 +02:00
parent e4f9d23598
commit 825f97c7b5

View file

@ -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;
}