mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 15:24:16 +01:00
b8d449505d
The crash appeared to be a result of allocating an instance of Discrete_interval automatically that that was referred in out-of-declaration scope. Fixed with correcting backing up and restoring scheme of auto_inc_intervals_forced, introduced by bug#33029, by means of shallow copying; added simulation code that forces executing those fixes of the former bug that targeted at master-and-slave having incompatible bug#33029-prone versions.
15 lines
402 B
Text
15 lines
402 B
Text
stop slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
reset master;
|
|
reset slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
start slave;
|
|
create table `t1` (`id` int not null auto_increment primary key);
|
|
create trigger `trg` before insert on `t1` for each row begin end;
|
|
set @@global.debug="+d,simulate_bug33029";
|
|
stop slave;
|
|
start slave;
|
|
insert into `t1` values ();
|
|
select * from t1;
|
|
id
|
|
1
|