mirror of
https://github.com/MariaDB/server.git
synced 2025-11-19 19:03:26 +03:00
Bug #16445 ndb, schema version error 241 after mysqld restart
- table dictionary status was checked only for Invalid
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user