| 1 |
# |
| 2 |
# Bug# 20005279 ASSERT !OTHER_LOCK, LOCK_MOVE_REORGANIZE_PAGE() |
| 3 |
# |
| 4 |
create table t1 (f1 int auto_increment primary key, |
| 5 |
f2 char(255)) engine=innodb; |
| 6 |
start transaction; |
| 7 |
commit; |
| 8 |
start transaction; |
| 9 |
select f1, f2 from t1 where f1 = 20 for update; |
| 10 |
f1 f2 |
| 11 |
20 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 12 |
# Connection con1: |
| 13 |
select f1 from t1 where f1 = 20 for update; |
| 14 |
# Connection default: |
| 15 |
SET DEBUG='+d,do_page_reorganize,do_lock_reverse_page_reorganize'; |
| 16 |
insert into t1(f2) values (repeat('+', 100)); |
| 17 |
SET DEBUG='-d,do_page_reorganize,do_lock_reverse_page_reorganize'; |
| 18 |
commit; |
| 19 |
# Connection con1: |
| 20 |
f1 |
| 21 |
20 |
| 22 |
# Connection default: |
| 23 |
drop table t1; |