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

crash in get_mm_leaf with xor on binary col

    XMLWordPrintable

    Details

      Description

      Version: '10.1.5-MariaDB'  mariadb.org binary distribution
      [ERROR] mysqld got exception 0xc0000005 ;
       
      mysqld.exe!get_mm_leaf()[opt_range.cc:8374]
      mysqld.exe!get_mm_parts()[opt_range.cc:8280]
      mysqld.exe!get_func_mm_tree()[opt_range.cc:7823]
      mysqld.exe!get_full_func_mm_tree()[opt_range.cc:7931]
      mysqld.exe!Item_func::get_mm_tree()[opt_range.cc:8222]
      mysqld.exe!prune_partitions()[opt_range.cc:4063]
      mysqld.exe!JOIN::optimize_inner()[sql_select.cc:1260]
      mysqld.exe!JOIN::optimize()[sql_select.cc:1023]
      mysqld.exe!mysql_select()[sql_select.cc:3310]
      mysqld.exe!handle_select()[sql_select.cc:373]
      mysqld.exe!execute_sqlcom_select()[sql_parse.cc:5797]
      mysqld.exe!mysql_execute_command()[sql_parse.cc:2938]
      mysqld.exe!mysql_parse()[sql_parse.cc:7178]
      mysqld.exe!dispatch_command()[sql_parse.cc:1473]
      mysqld.exe!do_command()[sql_parse.cc:1093]
      mysqld.exe!threadpool_process_request()[threadpool_common.cc:233]
      mysqld.exe!io_completion_callback()[threadpool_win.cc:568]

      How To Repeat:
      ----------------------

      Start server: mysqld.exe --no-defaults --console

      drop table if exists t1;
      create table t1(a binary(80))engine=innodb partition by key(a) partitions 3;
      select 1 from t1 where a xor 'a';

        Attachments

          Activity

            People

            Assignee:
            bar Alexander Barkov
            Reporter:
            sbester1 sbester1
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: