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

Period name with more than 32 symbols crashes the server

    XMLWordPrintable

Details

    Description

      The following query:

      create table t2 (s date, e date, period for `asdf123456789012345678901234567890` (s,e));
      

      leads to a crash.
      As it is noted in https://github.com/MariaDB/server/pull/2146, this is because the constraint name is limited to 32 symbols, while the column name is up to 64 symbols.

      Attachments

        Issue Links

          Activity

            People

              nikitamalyavin Nikita Malyavin
              nikitamalyavin Nikita Malyavin
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.