Fix for avoiding gettin Invalid schema object version when doing local changes, fixed found bug
This commit is contained in:
parent
c53b0c4398
commit
b6ad57e0a3
@ -3266,7 +3266,7 @@ int ha_ndbcluster::external_lock(THD *thd, int lock_type)
|
||||
if (tab->getObjectStatus() == NdbDictionary::Object::Invalid)
|
||||
{
|
||||
invalidate_dictionary_cache(FALSE);
|
||||
if (!(tab= dict->getTable(m_tabname)))
|
||||
if (!(tab= dict->getTable(m_tabname, &tab_info)))
|
||||
ERR_RETURN(dict->getNdbError());
|
||||
DBUG_PRINT("info", ("Table schema version: %d",
|
||||
tab->getObjectVersion()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user