Commit 9543dfbf authored by unknown's avatar unknown

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

- table dictionary status was checked only for Invalid
parent 47e85063
......@@ -3468,7 +3468,7 @@ NdbDictionaryImpl::getEvent(const char * eventName)
delete ev;
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);
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