Skip to content

Commit

Permalink
MDEV-9663: InnoDB assertion failure: *cursor->index->name == TEMP_IND…
Browse files Browse the repository at this point in the history
…EX_PREFIX

MariaDB adjustments to test case innodb-replace-debug.

MariaDB 10.0 does not seem to be affected.
  • Loading branch information
Jan Lindström committed Nov 16, 2017
1 parent 923ea5d commit 93326ef
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion mysql-test/suite/innodb/r/innodb-replace-debug.result
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
create table t1 (f1 int primary key, f2 int, f3 int, unique key k1(f2),
key k2(f3)) engine=innodb;
insert into t1 values (14, 24, 34);
set debug = '+d,row_ins_sec_index_entry_timeout';
set @@debug_dbug = '+d,row_ins_sec_index_entry_timeout';
replace into t1 values (14, 25, 34);
select * from t1;
f1 f2 f3
14 25 34
drop table t1;
set @@debug_dbug = '-d,row_ins_sec_index_entry_timeout';
4 changes: 3 additions & 1 deletion mysql-test/suite/innodb/t/innodb-replace-debug.test
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
create table t1 (f1 int primary key, f2 int, f3 int, unique key k1(f2),
key k2(f3)) engine=innodb;
insert into t1 values (14, 24, 34);
set debug = '+d,row_ins_sec_index_entry_timeout';
set @@debug_dbug = '+d,row_ins_sec_index_entry_timeout';
replace into t1 values (14, 25, 34);
select * from t1;
drop table t1;
set @@debug_dbug = '-d,row_ins_sec_index_entry_timeout';

0 comments on commit 93326ef

Please sign in to comment.