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

Unique hash key is ignored upon INSERT ... SELECT into non-empty MyISAM table

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10
    • Fix Version/s: 10.4, 10.5, 10.6, 10.7, 10.8, 10.9
    • Component/s: Server
    • Labels:
      None

      Description

      The patch from MDEV-23264 (bb-10.4-MDEV-23264 b2eb92843c) does not fix it.

      --source include/have_sequence.inc
       
      create or replace table t (a int, b text, unique(b)) engine=MyISAM;
      insert into t values (0,'aa');
      insert into t (a,b) select 1,'xxx' from seq_1_to_5;
      select * from t;
       
      # Cleanup
      drop table t;
      

      10.4 f0107c90

      insert into t (a,b) select 1,'xxx' from seq_1_to_5;
      select * from t;
      a	b
      0	aa
      1	xxx
      1	xxx
      1	xxx
      1	xxx
      1	xxx
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sanja Oleksandr Byelkin
              Reporter:
              elenst Elena Stepanova
              Votes:
              1 Vote for this issue
              Watchers:
              4 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.