diff options
author | unknown <mskold@mysql.com> | 2005-04-29 11:37:47 +0200 |
---|---|---|
committer | unknown <mskold@mysql.com> | 2005-04-29 11:37:47 +0200 |
commit | b6ad57e0a37b43d20a58f9dc74258f2dc7544ea2 (patch) | |
tree | f1bb24421992ab0c2ec1a695c3505a9ac1b378f8 /sql/ha_ndbcluster.cc | |
parent | c53b0c4398a806b0b039f955eddc8ba8030782c4 (diff) | |
download | mariadb-git-b6ad57e0a37b43d20a58f9dc74258f2dc7544ea2.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())); |