summaryrefslogtreecommitdiff
path: root/sql/log.h
diff options
context:
space:
mode:
authorunknown <knielsen@knielsen-hq.org>2010-12-25 16:14:50 +0100
committerunknown <knielsen@knielsen-hq.org>2010-12-25 16:14:50 +0100
commit31ed214a00c3d33431766a1df3302350b3736bff (patch)
tree724502c74e6e0f737fba708ef6554c223cafad3a /sql/log.h
parent34a48dd4a0488934ea80d5e113484ab6aaa902f8 (diff)
parent2a97416e9b0ad90f99499717331e1acc03d8e097 (diff)
downloadmariadb-git-31ed214a00c3d33431766a1df3302350b3736bff.tar.gz
Merge MWL#136 into mariadb-5.2-rpl
Diffstat (limited to 'sql/log.h')
-rw-r--r--sql/log.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sql/log.h b/sql/log.h
index cebb81f0a77..a7e5ea6fc8c 100644
--- a/sql/log.h
+++ b/sql/log.h
@@ -406,6 +406,12 @@ public:
*/
Format_description_log_event *description_event_for_exec,
*description_event_for_queue;
+ /*
+ Binlog position of last commit (or non-transactional write) to the binlog.
+ Access to this is protected by LOCK_commit_ordered.
+ */
+ char last_commit_pos_file[FN_REFLEN];
+ my_off_t last_commit_pos_offset;
MYSQL_BIN_LOG();
/*
@@ -521,7 +527,7 @@ public:
inline void unlock_index() { pthread_mutex_unlock(&LOCK_index);}
inline IO_CACHE *get_index_file() { return &index_file;}
inline uint32 get_open_count() { return open_count; }
- void set_status_variables();
+ void set_status_variables(THD *thd);
};
class Log_event_handler