summaryrefslogtreecommitdiff
path: root/wsrep-lib
diff options
context:
space:
mode:
authorAleksey Midenkov <midenok@gmail.com>2020-03-03 13:50:32 +0300
committerAleksey Midenkov <midenok@gmail.com>2020-03-03 13:50:32 +0300
commitfa8ad7543947f5c74dece982d42bab59b6479449 (patch)
treed40ac2133feb08ce8b10e77d8180443768dfc99c /wsrep-lib
parenta99c93a7fafd3f47212ec385afa8011bcec052bc (diff)
downloadmariadb-git-fa8ad7543947f5c74dece982d42bab59b6479449.tar.gz
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
Diffstat (limited to 'wsrep-lib')
0 files changed, 0 insertions, 0 deletions