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

timestamp virtual column yields syntax error in show create table

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 5.3.12, 5.5.35, 10.0.7, 10.0.22
    • 10.1.8
    • Parser, Temporal Types
    • None
    • Linux x64

    Description

      You cannot mysqldump/reload the table in the below testcase due to invalid sql being returned by "show create table".

      drop table if exists t1;
      create table t1(a int, b timestamp as (a=1) virtual)engine=innodb;
      show create table t1;

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sbester1 sbester1
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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