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

insert into an empty table fails with hash unique

    XMLWordPrintable

Details

    Description

      create table t1 (f1 varchar(25), unique (f1) using hash);
      insert ignore t1 (f1) values ('new york'),('virginia'),('spouse'),(null),('zqekmqpwutxnzddrbjycyo'),('nebraska'),('illinois'),('qe'),('ekmqpwut'),('arizona'),('arizona');
      check table t1 extended;
      drop table t1;
      

      shows "1194: Table 't1' is marked as crashed and should be repaired"

      Attachments

        Activity

          People

            serg Sergei Golubchik
            serg Sergei Golubchik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 3.75d
                3.75d

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.