mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
cleanup: whitespace, etc
This commit is contained in:
@ -43,11 +43,10 @@ insert t1 values (5), (5);
|
||||
set debug_sync= 'now WAIT_FOR ended';
|
||||
|
||||
--connection default
|
||||
set session lock_wait_timeout=1;
|
||||
set debug_sync= 'alter_table_copy_end SIGNAL ended WAIT_FOR end';
|
||||
|
||||
--send
|
||||
alter table t1 add unique (a), algorithm= copy, lock= none;
|
||||
alter table t1 nowait add unique (a), algorithm= copy, lock= none;
|
||||
|
||||
--connection con2
|
||||
--reap
|
||||
@ -64,7 +63,6 @@ commit;
|
||||
select variable_value into @otd from information_schema.session_status where variable_name='Opened_table_definitions';
|
||||
select * from t1;
|
||||
select variable_value-@otd from information_schema.session_status where variable_name='Opened_table_definitions';
|
||||
set session lock_wait_timeout=default;
|
||||
|
||||
--echo # long transaction and add column
|
||||
create or replace table t1 (a int);
|
||||
@ -76,9 +74,8 @@ set debug_sync= 'now WAIT_FOR ended';
|
||||
|
||||
--connection default
|
||||
set debug_sync= 'alter_table_copy_end SIGNAL ended WAIT_FOR end';
|
||||
set session lock_wait_timeout=1;
|
||||
--send
|
||||
alter table t1 add b int NULL, algorithm= copy, lock= none;
|
||||
alter table t1 nowait add b int NULL, algorithm= copy, lock= none;
|
||||
|
||||
--connection con2
|
||||
--reap
|
||||
@ -90,7 +87,6 @@ set debug_sync= 'now SIGNAL end';
|
||||
--error ER_LOCK_WAIT_TIMEOUT
|
||||
--reap
|
||||
select * from t1;
|
||||
set session lock_wait_timeout=default;
|
||||
--connection con2
|
||||
rollback;
|
||||
--connection default
|
||||
|
Reference in New Issue
Block a user