summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster_binlog.h
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.ndb.mysql.com>2006-04-10 16:08:40 +0200
committerunknown <tomas@poseidon.ndb.mysql.com>2006-04-10 16:08:40 +0200
commit4618e6eccdea7d7008e70670e3326c4e3c5891b7 (patch)
tree79dfa9c29837453cf85cb459a33201d0e03808e7 /sql/ha_ndbcluster_binlog.h
parentebf409a8be161ad947065983ec3406c6d6bce306 (diff)
downloadmariadb-git-4618e6eccdea7d7008e70670e3326c4e3c5891b7.tar.gz
Bug #18932: Cluster binlog mysqld accepts updating although binlog not setup
sql/ha_ndbcluster.cc: Bug #18932: Cluster binlog mysqld accepts updating although binlog not setup - put ndb tables in read only until binlog is setup properly sql/ha_ndbcluster_binlog.cc: Bug #18932: Cluster binlog mysqld accepts updating although binlog not setup - put ndb tables in read only until binlog is setup properly
Diffstat (limited to 'sql/ha_ndbcluster_binlog.h')
-rw-r--r--sql/ha_ndbcluster_binlog.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sql/ha_ndbcluster_binlog.h b/sql/ha_ndbcluster_binlog.h
index fda025842a0..9d15016568b 100644
--- a/sql/ha_ndbcluster_binlog.h
+++ b/sql/ha_ndbcluster_binlog.h
@@ -101,7 +101,8 @@ int ndbcluster_log_schema_op(THD *thd, NDB_SHARE *share,
const char *old_db= 0,
const char *old_table_name= 0);
int ndbcluster_handle_drop_table(Ndb *ndb, const char *event_name,
- NDB_SHARE *share);
+ NDB_SHARE *share,
+ const char *type_str);
void ndb_rep_event_name(String *event_name,
const char *db, const char *tbl);
int ndb_create_table_from_engine(THD *thd, const char *db,
@@ -112,12 +113,13 @@ pthread_handler_t ndb_binlog_thread_func(void *arg);
/*
table cluster_replication.apply_status
*/
-void ndbcluster_setup_binlog_table_shares(THD *thd);
+int ndbcluster_setup_binlog_table_shares(THD *thd);
extern NDB_SHARE *apply_status_share;
extern NDB_SHARE *schema_share;
extern THD *injector_thd;
extern my_bool ndb_binlog_running;
+extern my_bool ndb_binlog_tables_inited;
bool
ndbcluster_show_status_binlog(THD* thd, stat_print_fn *stat_print,