This website requires JavaScript.
Explore
Help
Sign in
mirror
/
mariadb
Watch
1
Star
0
Fork
You've already forked mariadb
0
mirror of
https://github.com/MariaDB/server.git
synced
2025-01-28 01:34:17 +01:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
a090a3c571
mariadb
/
mysql-test
/
main
/
alter_table_combinations.combinations
7 lines
32 B
Text
Raw
Normal View
History
Unescape
Escape
MDEV-16290 ALTER TABLE ... RENAME COLUMN syntax The existing syntax for renaming a column uses "ALTER TABLE ... CHANGE" command. This requires full column specification to rename the column. This patch adds new syntax "ALTER TABLE ... RENAME COLUMN", which do not expect users to provide full column specification. It means that the new syntax would pick in-place or copy algorithm in the same way as that of existing "ALTER TABLE ... CHANGE" command. The existing syntax "ALTER TABLE ... CHANGE" will continue to work. Syntax changes ============== ALTER TABLE tbl_name [alter_specification [, alter_specification] ...] [partition_options] Following is a new <alter_specification> added: | RENAME COLUMN <oldname> TO <newname> Where <oldname> and <newname> are identifiers for old name and new name of the column. Related to: WL#10761
2020-03-03 13:50:32 +03:00
[innodb]
move alter_table combinations to a separate test file no need to run all alter tests three times with no changes whatsoever
2022-05-24 17:27:18 +02:00
innodb
MDEV-16290 ALTER TABLE ... RENAME COLUMN syntax The existing syntax for renaming a column uses "ALTER TABLE ... CHANGE" command. This requires full column specification to rename the column. This patch adds new syntax "ALTER TABLE ... RENAME COLUMN", which do not expect users to provide full column specification. It means that the new syntax would pick in-place or copy algorithm in the same way as that of existing "ALTER TABLE ... CHANGE" command. The existing syntax "ALTER TABLE ... CHANGE" will continue to work. Syntax changes ============== ALTER TABLE tbl_name [alter_specification [, alter_specification] ...] [partition_options] Following is a new <alter_specification> added: | RENAME COLUMN <oldname> TO <newname> Where <oldname> and <newname> are identifiers for old name and new name of the column. Related to: WL#10761
2020-03-03 13:50:32 +03:00
[aria]
[heap]
Reference in a new issue
Copy permalink