summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster.h
diff options
context:
space:
mode:
authortomas@whalegate.ndb.mysql.com <>2007-04-03 07:20:55 +0200
committertomas@whalegate.ndb.mysql.com <>2007-04-03 07:20:55 +0200
commit8bf9bf001def3dec8d8d3e340d49e9100591c4c4 (patch)
tree5fafd6815a2144ccf1e4240367ebe6e83b77b300 /sql/ha_ndbcluster.h
parent77d37e5810b7bd1c30c5f893f4911f4fec37c56b (diff)
downloadmariadb-git-8bf9bf001def3dec8d8d3e340d49e9100591c4c4.tar.gz
Bug #26783 replication status unknown after cluster or mysqld failure
- update the ndb_apply_status table with binlog info
Diffstat (limited to 'sql/ha_ndbcluster.h')
-rw-r--r--sql/ha_ndbcluster.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/ha_ndbcluster.h b/sql/ha_ndbcluster.h
index 6cc0e423f2f..98f6efe15d8 100644
--- a/sql/ha_ndbcluster.h
+++ b/sql/ha_ndbcluster.h
@@ -593,6 +593,11 @@ enum THD_NDB_OPTIONS
TNO_NO_LOG_SCHEMA_OP= 1 << 0
};
+enum THD_NDB_TRANS_OPTIONS
+{
+ TNTO_INJECTED_APPLY_STATUS= 1 << 0
+};
+
struct Ndb_local_table_statistics {
int no_uncommitted_rows_count;
ulong last_count;
@@ -620,6 +625,7 @@ class Thd_ndb
NdbTransaction *stmt;
int error;
uint32 options;
+ uint32 trans_options;
List<NDB_SHARE> changed_tables;
uint query_state;
HASH open_tables;