mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
don't do ALTER IGNORE TABLE online
because online means we'll apply events from the binlog, and ignore means that bad rows will be skipped. So a bad Write_row_log_event will be skipped and a following Update_row_log_event will fail to apply.
This commit is contained in:
@ -810,8 +810,9 @@ insert into t1(a) values ('foobar');
|
||||
--send set debug_sync= 'now wait_for downgraded'
|
||||
|
||||
--connection con2
|
||||
set sql_mode='';
|
||||
set debug_sync= 'alter_table_online_downgraded signal downgraded wait_for goforit';
|
||||
--send alter ignore table t1 drop b, add b char(3) as (a) stored, algorithm=copy, lock=none
|
||||
--send alter table t1 drop b, add b char(3) as (a) stored, algorithm=copy, lock=none
|
||||
|
||||
--connection default
|
||||
--reap
|
||||
@ -820,6 +821,7 @@ set debug_sync= 'now signal goforit';
|
||||
|
||||
--connection con2
|
||||
--reap
|
||||
set sql_mode=default;
|
||||
--connection default
|
||||
drop table t1;
|
||||
set debug_sync= reset;
|
||||
|
Reference in New Issue
Block a user