diff options
author | mskold@mysql.com <> | 2005-04-29 11:37:47 +0200 |
---|---|---|
committer | mskold@mysql.com <> | 2005-04-29 11:37:47 +0200 |
commit | 2428e7b1ccd23e4cddadf64eb8d74ab47623599b (patch) | |
tree | f1bb24421992ab0c2ec1a695c3505a9ac1b378f8 /sql/ha_ndbcluster.cc | |
parent | 78263507ab8ad4e2dd1ed123762421d50606c93a (diff) | |
download | mariadb-git-2428e7b1ccd23e4cddadf64eb8d74ab47623599b.tar.gz |
Fix for avoiding gettin Invalid schema object version when doing local changes, fixed found bug
Diffstat (limited to 'sql/ha_ndbcluster.cc')
-rw-r--r-- | sql/ha_ndbcluster.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_ndbcluster.cc b/sql/ha_ndbcluster.cc index 181ae5e5b54..a1166641f7d 100644 --- a/sql/ha_ndbcluster.cc +++ b/sql/ha_ndbcluster.cc @@ -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())); |