mirror of
https://github.com/MariaDB/server.git
synced 2026-04-22 08:15:31 +02:00
Merge 10.2 into 10.3
This commit is contained in:
commit
4bd56a697f
41 changed files with 374 additions and 226 deletions
|
|
@ -263,3 +263,10 @@ create table t1(o1 int, o2 int, o3 int, primary key(o1,o2,o3)) engine = innodb;
|
|||
insert into t1 values(1,1,2),(2,2,1);
|
||||
alter table t1 drop primary key, add primary key(o1), lock=none;
|
||||
drop table t1;
|
||||
|
||||
# pk(o1,o2) to pk(o1,o2,autoinc) must not sort
|
||||
create table t1(o1 int, o2 int, primary key(o1,o2)) engine = innodb;
|
||||
insert into t1 values(1,1),(2,1);
|
||||
alter table t1 drop primary key, add column a int unique auto_increment,
|
||||
add primary key(o1,o2,a), algorithm=inplace;
|
||||
drop table t1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue