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

Search by I_S.KEY_PERIOD_USAGE.CONSTRAINT_NAME does not work

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Duplicate
    • N/A
    • N/A
    • Information Schema
    • None

    Description

      --source include/have_innodb.inc
       
      create table t (a int, b date, c date, period for app(b,c), unique idx(a, app without overlaps));
       
      select table_name, constraint_name from information_schema.key_period_usage where table_name = 't';
      select table_name, constraint_name from information_schema.key_period_usage where constraint_name = 'idx';
       
      # Cleanup
      drop table t;
      

      bb-11.3-periods-schema 24018c74fae6e5a93b93c2efefd60bde4ad1488e

      select table_name, constraint_name from information_schema.key_period_usage where table_name = 't';
      table_name	constraint_name
      t	idx
      select table_name, constraint_name from information_schema.key_period_usage where constraint_name = 'idx';
      table_name	constraint_name
      drop table t;
      

      Attachments

        Issue Links

          Activity

            People

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