Commit b6ad57e0 authored by unknown's avatar unknown

Fix for avoiding gettin Invalid schema object version when doing local changes, fixed found bug

parent c53b0c43
......@@ -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()));
......
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