summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster_binlog.h
diff options
context:
space:
mode:
authorunknown <tomas@whalegate.ndb.mysql.com>2007-04-18 16:02:20 +0200
committerunknown <tomas@whalegate.ndb.mysql.com>2007-04-18 16:02:20 +0200
commitca56499957e00f0310e5324f7d997fe59dfb807d (patch)
treeeb599c5d7c5074a04540cc14f3b35a88c1fd822a /sql/ha_ndbcluster_binlog.h
parentb895ed4cdf2a61a5581f7491be59d18dac35a566 (diff)
downloadmariadb-git-ca56499957e00f0310e5324f7d997fe59dfb807d.tar.gz
Bug #27076 Cluster does not honor SQL_LOG_BIN flag
- both for data schema operations - also make sure schema events vet the right server id when injected into the binlog - use same mechanism to signal server_id in bug#17095, and reserve some "id's" for flagging special conditions on the event, in this case do not log it - enable printing of server ids in the testcases to show that we cot it right
Diffstat (limited to 'sql/ha_ndbcluster_binlog.h')
-rw-r--r--sql/ha_ndbcluster_binlog.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/ha_ndbcluster_binlog.h b/sql/ha_ndbcluster_binlog.h
index 7864cf3c0aa..ac0d769433e 100644
--- a/sql/ha_ndbcluster_binlog.h
+++ b/sql/ha_ndbcluster_binlog.h
@@ -30,6 +30,10 @@ extern ulong ndb_extra_logging;
#define NDB_INVALID_SCHEMA_OBJECT 241
+/* server id's with high bit set is reservered */
+#define NDB_ANYVALUE_FOR_NOLOGGING 0xFFFFFFFF
+#define NDB_ANYVALUE_RESERVED 0x80000000
+
extern handlerton *ndbcluster_hton;
/*