diff options
author | mats@romeo.(none) <> | 2007-01-17 15:06:37 +0100 |
---|---|---|
committer | mats@romeo.(none) <> | 2007-01-17 15:06:37 +0100 |
commit | 3920f529eaed9f358bfe722082aa17b424442995 (patch) | |
tree | 9eae6a73e0dce9a2735898f9cba02326b8eab6a9 /sql/rpl_rli.h | |
parent | 1fb9105ebd647be9d4b4c582d1e8354f0ea38414 (diff) | |
download | mariadb-git-3920f529eaed9f358bfe722082aa17b424442995.tar.gz |
BUG#23171 (Illegal slave restart position):
Third patch of the bug fix where the code for skipping events and for
executing events is factored out into three functions:
- shall_skip() to decide if the event shall be skipped and the
reason for it;
- do_apply_event(), where the event is applied to the database; and
- do_update_pos(), which updates the actual relay log position and
group positions.
Diffstat (limited to 'sql/rpl_rli.h')
-rw-r--r-- | sql/rpl_rli.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sql/rpl_rli.h b/sql/rpl_rli.h index cecf351fd88..ed9ef3a9115 100644 --- a/sql/rpl_rli.h +++ b/sql/rpl_rli.h @@ -305,7 +305,14 @@ typedef struct st_relay_log_info DBUG_ASSERT(tables_to_lock == NULL && tables_to_lock_count == 0); } - time_t unsafe_to_stop_at; + /* + Used by row-based replication to detect that it should not stop at + this event, but give it a chance to send more events. The time + where the last event inside a group started is stored here. If the + variable is zero, we are not in a group (but may be in a + transaction). + */ + time_t last_event_start_time; } RELAY_LOG_INFO; |