1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

unpack_row: unpack a correct number of fields

This commit is contained in:
Nikita Malyavin
2023-05-04 01:48:38 +03:00
committed by Sergei Golubchik
parent da277396bd
commit 500379cf49
4 changed files with 52 additions and 13 deletions

View File

@ -1527,6 +1527,24 @@ set debug_sync= "now signal goon";
select * from t;
drop table t;
--echo # Test that all the fields are unpacked.
create table t (a int, b int) engine=innodb;
insert into t values (NULL, 123), (NULL, 456);
set debug_sync= "alter_table_copy_end signal copy wait_for goon";
send alter table t drop a, add primary key(b), algorithm=copy;
--connection con1
set debug_sync= "now wait_for copy";
update t set b = b + 100;
set debug_sync= "now signal goon";
--connection default
--reap
select * from t;
drop table t;
set debug_sync= reset;
--disconnect con1