Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-3841 LevelDB storage engine
  3. MDEV-4037

LevelDB: REPLACE doesn't work, produces ER_DUP_KEY

    XMLWordPrintable

Details

    • Technical task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None

    Description

      It might be a duplicate of MDEV-4036, but just in case it's not, I will file it separately. Besides, leveldb.test should probably contain both statements anyway.

      Test case:

      create table t1 (pk int primary key, i int) engine=LevelDB;
      insert into t1 values (1,1);
      replace into t1 values (1,100);

      REPLACE fails with 1022: Can't write; duplicate key in table 't1'.

      revision-id: psergey@askmonty.org-20130114131529-qv3531bw9fdklwob
      revno: 4483
      branch-nick: mysql-5.6-leveldb

      Attachments

        Activity

          People

            psergei Sergei Petrunia
            elenst Elena Stepanova
            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.