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

Mroonga returns ER_ERROR_ON_WRITE (1026): primary key is empty upon inserting empty string into PK

    XMLWordPrintable

Details

    Description

      I'm not sure whether it's expected behavior or not, at least Mroonga limitations don't mention it. In any case, it's very unlikely that it would be fixed, but such a strange error confuses tests, so I want to have it filed so that the tests could start ignoring it.

      INSTALL SONAME 'ha_mroonga';
       
      CREATE TABLE t (f VARCHAR(8) PRIMARY KEY) ENGINE=Mroonga;
      INSERT INTO t VALUES ('x'),('');
       
      DROP TABLE t;
      UNINSTALL SONAME 'ha_mroonga';
      

      main b57bf6f7b149c7dc08fc77bd5fa8b92f5c46e147

      mysqltest: At line 4: query 'INSERT INTO t VALUES ('x'),('')' failed: ER_ERROR_ON_WRITE (1026): primary key is empty
      

      Attachments

        Activity

          People

            kou Kouhei Sutou
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.