mariadb/mysql-test/suite/rpl
He Zhenxing f2c122bf90 BUG#41986 Replication slave does not pick up proper AUTO_INCREMENT value for Innodb tables
The next number (AUTO_INCREMENT) field of the table for write
rows events are not initialized, and cause some engines (innodb)
not correctly update the tables's auto_increment value.

This patch fixed this problem by honor next number fields if present.

mysql-test/extra/rpl_tests/rpl_auto_increment.test:
  Add test code for BUG#41986
mysql-test/suite/rpl/r/rpl_auto_increment.result:
  update test result file for BUG#41986
sql/log_event.cc:
  set next_number_field before writing rows, and reset next_number_field after finished writing rows
2009-01-14 16:27:32 +08:00
..
data BUG#28618 (Skipping into the middle of a group with SQL_SLAVE_SKIP_COUNTER 2007-10-19 14:18:41 +02:00
include Merge bk-internal.mysql.com:/home/bk/mysql-5.1 2007-11-28 19:49:29 +01:00
r BUG#41986 Replication slave does not pick up proper AUTO_INCREMENT value for Innodb tables 2009-01-14 16:27:32 +08:00
t BUG#41793: rpl_binlog_corruption disabled in main (needs new mtr) 2008-12-30 09:48:19 +01:00
combinations WL#3949 Test should set binlog format dnamically 2007-11-23 13:29:31 +01:00
README copy from test-extra-5.1 to main tree 2007-02-06 13:35:54 +01:00

How to run.
===========

./mysql-test-run.pl --suite=rpl --mysqld=--binlog-format=mixed