Commit ca34c9c9 authored by unknown's avatar unknown
Browse files

New test case

parent 3065eeb3
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -1009,4 +1009,21 @@ select auto_increment from information_schema.tables where table_name='t1';
select * from t1;
drop table t1;

#
# BUG 19122 Crash after ALTER TABLE t1 REBUILD PARTITION p1
#
create table t1 (a int)
partition by key (a)
(partition p1 engine = innodb);

alter table t1 rebuild partition p1;
alter table t1 rebuild partition p1;
alter table t1 rebuild partition p1;
alter table t1 rebuild partition p1;
alter table t1 rebuild partition p1;
alter table t1 rebuild partition p1;
alter table t1 rebuild partition p1;

drop table t1;

--echo End of 5.1 tests