From c86dcfd9e34fed19d1d4f72e131c0c0e882c71bb Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 17 Feb 2006 09:44:12 +0100 Subject: Invalidate table including all it's indexes from binlog thread --- sql/ha_ndbcluster.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sql/ha_ndbcluster.h') diff --git a/sql/ha_ndbcluster.h b/sql/ha_ndbcluster.h index 1eb8ac1ea70..5a65dcc0531 100644 --- a/sql/ha_ndbcluster.h +++ b/sql/ha_ndbcluster.h @@ -691,6 +691,10 @@ static void set_tabname(const char *pathname, char *tabname); private: friend int ndbcluster_drop_database_impl(const char *path); + friend int ndb_handle_schema_change(THD *thd, + Ndb *ndb, NdbEventOperation *pOp, + NDB_SHARE *share); + int alter_table_name(const char *to); static int delete_table(ha_ndbcluster *h, Ndb *ndb, const char *path, @@ -708,7 +712,7 @@ private: int create_indexes(Ndb *ndb, TABLE *tab); void clear_index(int i); void clear_indexes(); - int open_indexes(Ndb *ndb, TABLE *tab); + int open_indexes(Ndb *ndb, TABLE *tab, bool ignore_error); void renumber_indexes(Ndb *ndb, TABLE *tab); int drop_indexes(Ndb *ndb, TABLE *tab); int add_index_handle(THD *thd, NdbDictionary::Dictionary *dict, -- cgit v1.2.1