Re: [Maria-developers] START ALTER replication test cases

2023-05-10 Thread Kristian Nielsen
andrei.el...@pp.inet.fi writes: > Howdy Kristian, >> --connection master >> set global binlog_alter_two_phase=true; >> # ... >> ALTER TABLE t1 DROP PRIMARY KEY; >> ALTER TABLE t1 ADD UNIQUE KEY ui (i); >> ALTER TABLE t1 ADD PRIMARY KEY (i); >> >> Note the set *global* binlog_alter_

Re: [Maria-developers] START ALTER replication test cases

2023-05-09 Thread andrei . elkin
Howdy Kristian, > Hi Sachin, Andrei, > > I'm looking at test cases for START ALTER / Lag-free Alter on Slave. And I > happened to notice something in test case rpl.rpl_start_alter_bugs: > > --connection master > set global binlog_alter_two_phase=true; > # ... > ALTER TABLE t1 DROP PRIMARY

[Maria-developers] START ALTER replication test cases

2023-05-06 Thread Kristian Nielsen
Hi Sachin, Andrei, I'm looking at test cases for START ALTER / Lag-free Alter on Slave. And I happened to notice something in test case rpl.rpl_start_alter_bugs: --connection master set global binlog_alter_two_phase=true; # ... ALTER TABLE t1 DROP PRIMARY KEY; ALTER TABLE t1 ADD UNIQU