Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-5444

comment after check not possible

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • Icebox
    • None
    • Windows, docker container (mariadb:latest)

    Description

      this is not possible, Error message
      Error Code: 1064. You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'comment 'not possible', id bigint not null, primary key (id) ...' at line 3

      {{create table test (
      value1 integer not null comment 'value 1',
      value2 integer not null check (value2<=2) comment 'not possible',
      id bigint not null,
      primary key (id)
      ) engine=InnoDB}}

      Remove comment after check, syntax is ok and work

      {{create table test (
      value1 integer not null comment 'value 1',
      value2 integer not null check (value2<=2),
      id bigint not null,
      primary key (id)
      ) engine=InnoDB}}

      Attachments

        Activity

          People

            Unassigned Unassigned
            burner Burner
            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.