mariadb/mysql-test/suite/innodb
Marko Mäkelä 0202e47274 MDEV-12827 Assertion failure when reporting duplicate key error in online table rebuild
row_log_table_apply_insert_low(), row_log_table_apply_update():
When reporting the error_key_num, only count the clustered index
if it corresponds to a key in the SQL layer.

The assertion failure was probably introduced by the (incomplete)
MySQL 5.6.28 bug fix
Bug #21364096 THE BOGUS DUPLICATE KEY ERROR IN ONLINE DDL
WITH INCORRECT KEY NAME
which we are improving.

Side note: the fix was incorrectly merged to MySQL 5.7.10;
incorrect key names will continue to be reported in MySQL 5.7.
2017-12-21 17:19:13 +02:00
..
include MDEV-13625 Merge InnoDB test cases from MySQL 5.6 (part 1) 2017-08-29 15:28:58 +03:00
r MDEV-12827 Assertion failure when reporting duplicate key error in online table rebuild 2017-12-21 17:19:13 +02:00
t MDEV-12827 Assertion failure when reporting duplicate key error in online table rebuild 2017-12-21 17:19:13 +02:00
disabled.def MDEV-4396: Fix innodb.innodb_bug14676111 test. 2014-11-03 15:47:57 +02:00