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

innodb_prefix_index_cluster_optimization hits debug build assert on UTF-8 columns

    XMLWordPrintable

    Details

    • Sprint:
      10.1.32

      Description

      ./mtr --do-test=ctype --mysqld=--innodb_prefix_index_cluster_optimization=ON
      ...
      2017-03-14 14:48:08 700001c51000  InnoDB: Assertion failure in thread 123145332002816 in file row0sel.cc line 2717
      InnoDB: Failing assertion: len * templ->mbmaxlen >= templ->mysql_col_len || (field_no == templ->icp_rec_field_no && field->prefix_len > 0)
      ...
      Failing test(s): main.ctype_utf8 main.ctype_utf8mb4 main.ctype_utf8mb4_innodb
      

      This is a parallel bug to https://github.com/facebook/mysql-5.6/issues/568, but appears to be less serious, as Facebook patch silently returns wrong query results too, whereas MariaDB only crashes the debug build. I don't know if these testcases return correct results in the release build.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                thiru Thirunarayanan Balathandayuthapani
                Reporter:
                laurynas Laurynas Biveinis
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: