mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge 10.2 into 10.3
This commit is contained in:
@ -190,3 +190,56 @@ NULL NULL
|
||||
DROP TABLE t;
|
||||
# Cleanup
|
||||
DROP DATABASE temp_db;
|
||||
USE test;
|
||||
create temporary table t1 (f char(255), b int, index(b)) engine=MyISAM;
|
||||
replace into t1 values (null,1),(null,2);
|
||||
alter table t1 add fulltext key(f);
|
||||
alter table t1 change if exists a b int, algorithm=inplace;
|
||||
ERROR 0A000: ALGORITHM=INPLACE is not supported for this operation. Try ALGORITHM=COPY
|
||||
check table t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 check status OK
|
||||
select * from t1;
|
||||
f b
|
||||
NULL 1
|
||||
NULL 2
|
||||
drop table t1;
|
||||
create temporary table t1 (f char(255), b int, index(b)) engine=aria transactional=1;
|
||||
replace into t1 values (null,1),(null,2);
|
||||
alter table t1 add fulltext key(f);
|
||||
alter table t1 change if exists a b int, algorithm=inplace;
|
||||
ERROR 0A000: ALGORITHM=INPLACE is not supported for this operation. Try ALGORITHM=COPY
|
||||
check table t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 check status OK
|
||||
select * from t1;
|
||||
f b
|
||||
NULL 1
|
||||
NULL 2
|
||||
drop table t1;
|
||||
create temporary table t1 (f char(255), b int, index(b)) engine=aria transactional=0 row_format=page;
|
||||
replace into t1 values (null,1),(null,2);
|
||||
alter table t1 add fulltext key(f);
|
||||
alter table t1 change if exists a b int, algorithm=inplace;
|
||||
ERROR 0A000: ALGORITHM=INPLACE is not supported for this operation. Try ALGORITHM=COPY
|
||||
check table t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 check status OK
|
||||
select * from t1;
|
||||
f b
|
||||
NULL 1
|
||||
NULL 2
|
||||
drop table t1;
|
||||
create temporary table t1 (f char(255), b int, index(b)) engine=aria transactional=0 row_format=dynamic;
|
||||
replace into t1 values (null,1),(null,2);
|
||||
alter table t1 add fulltext key(f);
|
||||
alter table t1 change if exists a b int, algorithm=inplace;
|
||||
ERROR 0A000: ALGORITHM=INPLACE is not supported for this operation. Try ALGORITHM=COPY
|
||||
check table t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 check status OK
|
||||
select * from t1;
|
||||
f b
|
||||
NULL 1
|
||||
NULL 2
|
||||
drop table t1;
|
||||
|
Reference in New Issue
Block a user