summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster.h
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.ndb.mysql.com>2006-04-19 14:54:39 +0200
committerunknown <tomas@poseidon.ndb.mysql.com>2006-04-19 14:54:39 +0200
commit37fdc236722d6c8fd7579717ce888d7156d7c2c7 (patch)
treebb379aa90d42b9db5e969a1b761f4697362ddfde /sql/ha_ndbcluster.h
parent1a18a365cb755588d7586b7a3fa71ff220125006 (diff)
downloadmariadb-git-37fdc236722d6c8fd7579717ce888d7156d7c2c7.tar.gz
BUG#18094 Slave caches invalid table definition after atlters causes select failure
- return correct object status from ndb dictionary - check for validity of index retrieved from index, and retry if invalid
Diffstat (limited to 'sql/ha_ndbcluster.h')
-rw-r--r--sql/ha_ndbcluster.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/ha_ndbcluster.h b/sql/ha_ndbcluster.h
index b375e30338f..776ca02fb76 100644
--- a/sql/ha_ndbcluster.h
+++ b/sql/ha_ndbcluster.h
@@ -778,7 +778,8 @@ private:
void print_results();
ulonglong get_auto_increment();
- int invalidate_dictionary_cache(bool global);
+ int invalidate_dictionary_cache(bool global,
+ const NdbDictionary::Table *ndbtab);
int ndb_err(NdbTransaction*);
bool uses_blob_value();
@@ -816,7 +817,7 @@ private:
NdbTransaction *m_active_trans;
NdbScanOperation *m_active_cursor;
- void *m_table;
+ const NdbDictionary::Table *m_table;
int m_table_version;
void *m_table_info;
char m_dbname[FN_HEADLEN];