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

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.5, 10.0, 10.1, 10.2, 10.3, 10.4
    • Fix Version/s: 10.4
    • Component/s: Virtual Columns
    • Labels:
      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

              Assignee:
              serg Sergei Golubchik
              Reporter:
              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.