Loading mysql-test/r/partition.result +15 −0 Original line number Diff line number Diff line Loading @@ -1043,4 +1043,19 @@ alter table t1 add partition (partition p2 values in (3)); alter table t1 drop partition p2; use test; drop database db99; create table t1 (a int) partition by list (a) (partition p0 values in (0)); insert into t1 values (0); create procedure po () begin begin declare continue handler for sqlexception begin end; update ignore t1 set a = 1 where a = 0; end; prepare stmt1 from 'alter table t1'; execute stmt1; end// call po()// drop table t1; End of 5.1 tests Loading
mysql-test/r/partition.result +15 −0 Original line number Diff line number Diff line Loading @@ -1043,4 +1043,19 @@ alter table t1 add partition (partition p2 values in (3)); alter table t1 drop partition p2; use test; drop database db99; create table t1 (a int) partition by list (a) (partition p0 values in (0)); insert into t1 values (0); create procedure po () begin begin declare continue handler for sqlexception begin end; update ignore t1 set a = 1 where a = 0; end; prepare stmt1 from 'alter table t1'; execute stmt1; end// call po()// drop table t1; End of 5.1 tests