summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster.cc
diff options
context:
space:
mode:
authormskold@mysql.com <>2005-04-29 11:37:47 +0200
committermskold@mysql.com <>2005-04-29 11:37:47 +0200
commit2428e7b1ccd23e4cddadf64eb8d74ab47623599b (patch)
treef1bb24421992ab0c2ec1a695c3505a9ac1b378f8 /sql/ha_ndbcluster.cc
parent78263507ab8ad4e2dd1ed123762421d50606c93a (diff)
downloadmariadb-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.cc2
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()));