summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster_binlog.h
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.ndb.mysql.com>2006-03-01 18:23:00 +0100
committerunknown <tomas@poseidon.ndb.mysql.com>2006-03-01 18:23:00 +0100
commit62f7005a3d13132e1208607c7c7ad74887e5d11d (patch)
tree66486545d8aeb80323c5b78ec6f1bb5e601bdc32 /sql/ha_ndbcluster_binlog.h
parent39c03f0dfa427dc4f116c52b7d6deca94bae025a (diff)
downloadmariadb-git-62f7005a3d13132e1208607c7c7ad74887e5d11d.tar.gz
Bug #17827 cluster: rename of several tables in one statement, gets multiply logged
- redo log table query for log, split into separate entries per rename, to avoid duplicates, also to only log renames that relate to ndb tables sql/ha_ndbcluster_binlog.h: Bug #17827 cluster: rename of several tables in one statement, gets multiply logged
Diffstat (limited to 'sql/ha_ndbcluster_binlog.h')
-rw-r--r--sql/ha_ndbcluster_binlog.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/ha_ndbcluster_binlog.h b/sql/ha_ndbcluster_binlog.h
index d9c8812b3b6..91ef53edd6b 100644
--- a/sql/ha_ndbcluster_binlog.h
+++ b/sql/ha_ndbcluster_binlog.h
@@ -95,7 +95,9 @@ int ndbcluster_log_schema_op(THD *thd, NDB_SHARE *share,
const char *db, const char *table_name,
uint32 ndb_table_id,
uint32 ndb_table_version,
- enum SCHEMA_OP_TYPE type);
+ enum SCHEMA_OP_TYPE type,
+ 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);
void ndb_rep_event_name(String *event_name,