Bug #16445 ndb, schema version error 241 after mysqld restart

- table dictionary status was checked only for Invalid
parent 49606011
...@@ -3468,7 +3468,7 @@ NdbDictionaryImpl::getEvent(const char * eventName) ...@@ -3468,7 +3468,7 @@ NdbDictionaryImpl::getEvent(const char * eventName)
delete ev; delete ev;
DBUG_RETURN(NULL); DBUG_RETURN(NULL);
} }
if (info->m_table_impl->m_status == NdbDictionary::Object::Invalid) if (info->m_table_impl->m_status != NdbDictionary::Object::Retrieved)
{ {
removeCachedObject(*info->m_table_impl); removeCachedObject(*info->m_table_impl);
info= get_local_table_info(ev->getTableName(), true); info= get_local_table_info(ev->getTableName(), true);
......
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