diff options
author | Andrei Elkin <aelkin@mysql.com> | 2009-10-09 16:26:37 +0300 |
---|---|---|
committer | Andrei Elkin <aelkin@mysql.com> | 2009-10-09 16:26:37 +0300 |
commit | 6a541923c390a81a64a373fc91aafaea6f748b85 (patch) | |
tree | 754058f2682c151caea880f5435fd4fd1c0ce3ac /sql/rpl_rli.h | |
parent | 66b869d63740a146277346ba7f7ab06264cd6527 (diff) | |
download | mariadb-git-6a541923c390a81a64a373fc91aafaea6f748b85.tar.gz |
backporting fixes of bug@45940 to 5.1-rpl+2 to cover failures rpl_heartbeat_* as well.
mysql-test/suite/rpl/r/rpl_stop_middle_group.result:
the new result file
mysql-test/suite/rpl/t/rpl_stop_middle_group.test:
renamed from rpl_row_stop_middle_update and added a regression test for bug#45940.
Diffstat (limited to 'sql/rpl_rli.h')
-rw-r--r-- | sql/rpl_rli.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sql/rpl_rli.h b/sql/rpl_rli.h index a5410dd0c79..fd36d18adae 100644 --- a/sql/rpl_rli.h +++ b/sql/rpl_rli.h @@ -349,12 +349,10 @@ public: void clear_tables_to_lock(); /* - 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). - */ + Used to defer stopping the SQL thread to give it a chance + to finish up the current group of events. + The timestamp is set and reset in @c sql_slave_killed(). + */ time_t last_event_start_time; /** |