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

Not helpful error message upon ER_UNSUPPORTED_ACTION_ON_GENERATED_COLUMN

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 5.5, 10.0, 10.1, 10.2, 10.3, 10.4
    • 10.4
    • Virtual Columns
    • None

    Description

      MariaDB [test]> CREATE TABLE t1 (i INT, f INT AS (i) VIRTUAL);
      Query OK, 0 rows affected (0.44 sec)
       
      MariaDB [test]> ALTER TABLE t1 MODIFY COLUMN f INT;
      ERROR 1907 (HY000): This is not yet supported for generated columns
      

      "This" is really vague.

      MySQL is somewhat better at it:

      3106: 'Changing the STORED status' is not supported for generated columns
      

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              elenst Elena Stepanova
              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.