mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-23852 alter table rename column to uppercase doesn't work
Case-sensitive compare to detect column name case change in inplace alter rename.
This commit is contained in:
@@ -2529,6 +2529,18 @@ alter table t1 rename key if exists x to xx;
|
||||
unlock tables;
|
||||
drop table t1;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-23852 alter table rename column to uppercase doesn't work
|
||||
--echo #
|
||||
create table t1 (abc int);
|
||||
alter table t1 rename column abc to Abc, algorithm=copy;
|
||||
show create table t1;
|
||||
alter table t1 rename column abc to ABc, algorithm=inplace;
|
||||
show create table t1;
|
||||
alter table t1 rename column abc to ABC;
|
||||
show create table t1;
|
||||
drop table t1;
|
||||
|
||||
--echo #
|
||||
--echo # End of 10.5 tests
|
||||
--echo #
|
||||
|
Reference in New Issue
Block a user