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

identifier quoting in partitioning

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 5.5, 10.0, 10.1, 10.2
    • 10.2.7
    • Partitioning
    • None

    Description

      set sql_mode=ansi_quotes;
      create table t1 ("select" int) partition by range ("select") (partition "select" values less than maxvalue);
      create table t2 (f1 int) partition by range (f1) (partition p1 values less than maxvalue);
      show create table t1;
      show create table t2;
      set sql_mode=default;
      lock tables t1 read local;
      unlock tables;
      show create table t1;
      show create table t2;
      drop table t1;
      

      • expression is stored as is, parsed as is, printed as is
      • partition name stored/printed always with sql_quote_show_create=0, inconsistent, not future-proof

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              serg Sergei Golubchik
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.