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

The value specified for generated column has been ignored

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Optimizer
    • None

    Description

      Issue seen in gcol.gcol_keys_innodb

      Issue

      ------------
      ReplayTest: Query error: The value specified for generated column 'gc' in table 't1' has been ignored
      ReplayTest: In file "/home/ppandith/test2/mysql-test/suite/gcol/t/gcol_keys_innodb.test"
      ReplayTest: At line 4

      MTR testcase to repro issue: (Say example.test)

      CREATE TABLE t1 (f1 int, gc int AS (f1 + 1) STORED, UNIQUE(gc));
      INSERT INTO t1(f1) VALUES (1),(2),(0),(9),(3),(4),(8),(7),(5),(6);
      EXPLAIN SELECT * FROM t1 WHERE f1 + 1 = 7;
      drop table t1;
      

      How to repro:

      ./mtr example.test  --replay-server
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mariadb-pavithrapandith Pavithra Pandith
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.