Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-9878

Awkward syntax for altering the column comments

    XMLWordPrintable

Details

    Description

      Current syntax for altering the column comment is highly error prone, since you need to re-declare the data type.

      It would be nice to have below:

      ALTER TABLE 'myTable' ALTER COLUMN `myField` ADD COMMENT 'a comment'
      

      Instead of:

      ALTER TABLE `myTable` CHANGE `myField` `myField` varchar(20) NOT NULL COMMENT 'my comment'
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bala.linux Bala
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.