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

LevelDB throws error 122 on an attempt to create a table with unique index

    XMLWordPrintable

Details

    • Technical task
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      It's just a cosmetic issue – LevelDB does not support unique keys, but my understanding was that it was supposed to produce a more meaningful error than ER_GET_ERRNO. If it's not so, please just ignore it.

      mysql> create table t1 (pk int primary key, u int, unique index(u)) engine=LevelDB;
      ERROR 1030 (HY000): Got error 122 from storage engine

      revision-id: psergey@askmonty.org-20130123185233-7xokxc9ck9nosb2l
      revno: 4509
      branch-nick: mysql-5.6-leveldb

      Attachments

        Activity

          People

            psergei Sergei Petrunia
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.