1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-18 07:48:43 +03:00
Files
mariadb/mysql-test/r
mats@romeo.(none) 11fc24ef24 BUG#25688 (RBR: circular replication may cause STMT_END_F flags to be
skipped):

By moving statement end actions from Rows_log_event::do_apply_event() to
Rows_log_event::do_update_pos() they will always be executed, even if
Rows_log_event::do_apply_event() is skipped because the event originated
at the same server. This because Rows_log_event::do_update_pos() is always
executed (unless Rows_log_event::do_apply_event() failed with an error,
in which case the slave stops with an error anyway). 

Adding test case.

Fixing logic to detect if inside a group. If a rotate event occured
when an initial prefix of events for a statement, but for which the
table did contain a key, last_event_start_time is set to zero, causing
rotate to end the group but without unlocking any tables. This left a
lock hanging around, which subsequently triggered an assertion when a
second attempt was made to lock the same sequence of tables.

In order to solve the above problem, a new flag was added to the relay
log info structure that is used to indicate that the replication thread
is currently executing a statement. Using this flag, the replication
thread is in a group if it is either in a statement or inside a trans-
action.

The patch also eliminates some gratuitous header file inclusions that
were not needed (and caused compile errors) and replaced them with
forward definitions.
2007-04-12 08:58:04 +02:00
..
2007-03-14 18:18:30 +02:00
2007-01-26 15:36:39 -08:00
2006-12-08 22:19:51 -05:00
2007-03-23 01:04:31 +04:00
2006-11-22 17:59:46 +04:00
2007-02-23 18:49:41 +02:00
2007-03-15 17:35:31 +04:00
2007-02-06 17:22:56 +01:00
2007-03-26 19:15:30 +03:00
2006-12-26 22:10:02 +04:00
2007-02-13 13:15:23 -08:00
2007-02-23 13:13:55 +02:00
2006-12-18 09:46:44 +03:00
2006-12-18 12:52:59 +03:00
2007-02-23 13:13:55 +02:00
2006-12-17 23:08:04 +03:00
2007-02-23 13:13:55 +02:00
2006-12-12 23:22:46 +03:00
2006-12-15 09:42:41 -05:00
2006-12-18 16:39:50 -05:00
2006-11-28 16:39:04 -07:00
2007-03-01 18:16:17 +04:00
2007-01-04 04:09:06 +01:00
2007-01-04 04:09:06 +01:00
2007-03-08 19:57:35 +01:00
2007-03-26 16:52:52 +03:00
2007-01-17 18:15:35 -05:00
2006-12-08 22:19:51 -05:00
2007-02-01 18:00:24 +04:00
2007-03-23 01:04:31 +04:00
2006-12-08 22:19:51 -05:00
2007-03-23 01:04:31 +04:00