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

Assertion `m_part_spec.start_part >= m_part_spec.end_part' failed in ha_partition::index_read_idx_map

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.4(EOL)
    • 10.4.4
    • Partitioning
    • None

    Description

      --source include/have_partition.inc
       
      CREATE TABLE t1 (a INT, UNIQUE USING HASH (a)) PARTITION BY HASH (a) PARTITIONS 2;
      INSERT INTO t1 VALUES (2);
      REPLACE INTO t1 VALUES (2);
       
      # Cleanup
      DROP TABLE t1;
      

      10.4 5a796f1f

      mysqld: /data/src/10.4/sql/ha_partition.cc:5767: virtual int ha_partition::index_read_idx_map(uchar*, uint, const uchar*, key_part_map, ha_rkey_function): Assertion `m_part_spec.start_part >= m_part_spec.end_part' failed.
      190312 15:04:57 [ERROR] mysqld got signal 6 ;
       
      #7  0x00007ffb498fcee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
      #8  0x000056199ee7aa5a in ha_partition::index_read_idx_map (this=0x7ffb28139fb8, buf=0x7ffb280428f8 '\245' <repeats 16 times>, " )\004(\373\177", index=0, key=0x7ffb44276220 "", keypart_map=1, find_flag=HA_READ_KEY_EXACT) at /data/src/10.4/sql/ha_partition.cc:5767
      #9  0x000056199e6f93e2 in handler::ha_index_read_idx_map (this=0x7ffb28139fb8, buf=0x7ffb280428f8 '\245' <repeats 16 times>, " )\004(\373\177", index=0, key=0x7ffb44276220 "", keypart_map=1, find_flag=HA_READ_KEY_EXACT) at /data/src/10.4/sql/handler.cc:3068
      #10 0x000056199e365b32 in write_record (thd=0x7ffb28000b00, table=0x7ffb28139150, info=0x7ffb44276460) at /data/src/10.4/sql/sql_insert.cc:1772
      #11 0x000056199e363bdd in mysql_insert (thd=0x7ffb28000b00, table_list=0x7ffb280155b0, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_REPLACE, ignore=false) at /data/src/10.4/sql/sql_insert.cc:1067
      #12 0x000056199e3afe08 in mysql_execute_command (thd=0x7ffb28000b00) at /data/src/10.4/sql/sql_parse.cc:4838
      #13 0x000056199e3bbb63 in mysql_parse (thd=0x7ffb28000b00, rawbuf=0x7ffb280154c8 "REPLACE INTO t1 VALUES (2)", length=26, parser_state=0x7ffb44277180, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:8204
      #14 0x000056199e3a71a5 in dispatch_command (command=COM_QUERY, thd=0x7ffb28000b00, packet=0x7ffb2800a781 "REPLACE INTO t1 VALUES (2)", packet_length=26, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:1829
      #15 0x000056199e3a598b in do_command (thd=0x7ffb28000b00) at /data/src/10.4/sql/sql_parse.cc:1358
      #16 0x000056199e51f703 in do_handle_one_connection (connect=0x5619a2675570) at /data/src/10.4/sql/sql_connect.cc:1399
      #17 0x000056199e51f474 in handle_one_connection (arg=0x5619a2675570) at /data/src/10.4/sql/sql_connect.cc:1302
      #18 0x000056199ea15031 in pfs_spawn_thread (arg=0x5619a2767be0) at /data/src/10.4/storage/perfschema/pfs.cc:1862
      #19 0x00007ffb4b5d3494 in start_thread (arg=0x7ffb44278700) at pthread_create.c:333
      #20 0x00007ffb499b993f in clone () from /lib/x86_64-linux-gnu/libc.so.6
      

      It started happening after MDEV-371, although there is no direct relation in the test case.
      Reproducible with at least MyISAM and InnoDB.
      Also reproducible on bb-10.4-sachin 42af178a.

      Attachments

        Issue Links

          Activity

            elenst Elena Stepanova created issue -
            elenst Elena Stepanova made changes -
            Field Original Value New Value
            Description {noformat:title=10.4 5a796f1f}
            mysqld: /data/src/10.4/sql/ha_partition.cc:5767: virtual int ha_partition::index_read_idx_map(uchar*, uint, const uchar*, key_part_map, ha_rkey_function): Assertion `m_part_spec.start_part >= m_part_spec.end_part' failed.
            190312 14:51:54 [ERROR] mysqld got signal 6 ;

            #7 0x00007fab0a4d8ee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
            #8 0x00005565648fda5a in ha_partition::index_read_idx_map (this=0x7faaa03d0ad8, buf=0x7faaa03ce3d0 '\245' <repeats 24 times>, "\b\344<\240\252\177", index=0, key=0x7fab082d3d20 "", keypart_map=1, find_flag=HA_READ_KEY_EXACT) at /data/src/10.4/sql/ha_partition.cc:5767
            #9 0x000055656417c434 in handler::ha_index_read_idx_map (this=0x7faaa03d0ad8, buf=0x7faaa03ce3d0 '\245' <repeats 24 times>, "\b\344<\240\252\177", index=0, key=0x7fab082d3d20 "", keypart_map=1, find_flag=HA_READ_KEY_EXACT) at /data/src/10.4/sql/handler.cc:3068
            #10 0x0000556563de8b32 in write_record (thd=0x7faaa0000b00, table=0x7faaa03cfc70, info=0x7fab082d4060) at /data/src/10.4/sql/sql_insert.cc:1772
            #11 0x0000556563e1f377 in read_sep_field (thd=0x7faaa0000b00, info=..., table_list=0x7faaa002c0a8, fields_vars=..., set_fields=..., set_values=..., read_info=..., enclosed=..., skip_lines=0, ignore_check_option_errors=false) at /data/src/10.4/sql/sql_load.cc:1157
            #12 0x0000556563e1d98a in mysql_load (thd=0x7faaa0000b00, ex=0x7faaa002c020, table_list=0x7faaa002c0a8, fields_vars=..., set_fields=..., set_values=..., handle_duplicates=DUP_REPLACE, ignore=false, read_file_from_client=false) at /data/src/10.4/sql/sql_load.cc:667
            #13 0x0000556563e3498a in mysql_execute_command (thd=0x7faaa0000b00) at /data/src/10.4/sql/sql_parse.cc:5232
            #14 0x0000556563e3eb63 in mysql_parse (thd=0x7faaa0000b00, rawbuf=0x7faaa002bf48 "LOAD DATA INFILE 'load_g' REPLACE INTO TABLE g", length=46, parser_state=0x7fab082d51d0, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:8204
            #15 0x0000556563e2a1a5 in dispatch_command (command=COM_QUERY, thd=0x7faaa0000b00, packet=0x7faaa000a781 "LOAD DATA INFILE 'load_g' REPLACE INTO TABLE g ", packet_length=47, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:1829
            #16 0x0000556563e2898b in do_command (thd=0x7faaa0000b00) at /data/src/10.4/sql/sql_parse.cc:1358
            #17 0x0000556563fa2703 in do_handle_one_connection (connect=0x556568919c00) at /data/src/10.4/sql/sql_connect.cc:1399
            #18 0x0000556563fa2474 in handle_one_connection (arg=0x556568919c00) at /data/src/10.4/sql/sql_connect.cc:1302
            #19 0x00007fab0c1af494 in start_thread (arg=0x7fab082d6700) at pthread_create.c:333
            #20 0x00007fab0a59593f in clone () from /lib/x86_64-linux-gnu/libc.so.6
            {noformat}
            {code:sql}
            --source include/have_partition.inc

            CREATE TABLE t1 (a INT, UNIQUE USING HASH (a)) PARTITION BY HASH (a) PARTITIONS 2;
            INSERT INTO t1 VALUES (2);
            REPLACE INTO t1 VALUES (2);

            # Cleanup
            DROP TABLE t1;
            {code}
            {noformat:title=10.4 5a796f1f}
            mysqld: /data/src/10.4/sql/ha_partition.cc:5767: virtual int ha_partition::index_read_idx_map(uchar*, uint, const uchar*, key_part_map, ha_rkey_function): Assertion `m_part_spec.start_part >= m_part_spec.end_part' failed.
            190312 15:04:57 [ERROR] mysqld got signal 6 ;

            #7 0x00007ffb498fcee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
            #8 0x000056199ee7aa5a in ha_partition::index_read_idx_map (this=0x7ffb28139fb8, buf=0x7ffb280428f8 '\245' <repeats 16 times>, " )\004(\373\177", index=0, key=0x7ffb44276220 "", keypart_map=1, find_flag=HA_READ_KEY_EXACT) at /data/src/10.4/sql/ha_partition.cc:5767
            #9 0x000056199e6f93e2 in handler::ha_index_read_idx_map (this=0x7ffb28139fb8, buf=0x7ffb280428f8 '\245' <repeats 16 times>, " )\004(\373\177", index=0, key=0x7ffb44276220 "", keypart_map=1, find_flag=HA_READ_KEY_EXACT) at /data/src/10.4/sql/handler.cc:3068
            #10 0x000056199e365b32 in write_record (thd=0x7ffb28000b00, table=0x7ffb28139150, info=0x7ffb44276460) at /data/src/10.4/sql/sql_insert.cc:1772
            #11 0x000056199e363bdd in mysql_insert (thd=0x7ffb28000b00, table_list=0x7ffb280155b0, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_REPLACE, ignore=false) at /data/src/10.4/sql/sql_insert.cc:1067
            #12 0x000056199e3afe08 in mysql_execute_command (thd=0x7ffb28000b00) at /data/src/10.4/sql/sql_parse.cc:4838
            #13 0x000056199e3bbb63 in mysql_parse (thd=0x7ffb28000b00, rawbuf=0x7ffb280154c8 "REPLACE INTO t1 VALUES (2)", length=26, parser_state=0x7ffb44277180, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:8204
            #14 0x000056199e3a71a5 in dispatch_command (command=COM_QUERY, thd=0x7ffb28000b00, packet=0x7ffb2800a781 "REPLACE INTO t1 VALUES (2)", packet_length=26, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:1829
            #15 0x000056199e3a598b in do_command (thd=0x7ffb28000b00) at /data/src/10.4/sql/sql_parse.cc:1358
            #16 0x000056199e51f703 in do_handle_one_connection (connect=0x5619a2675570) at /data/src/10.4/sql/sql_connect.cc:1399
            #17 0x000056199e51f474 in handle_one_connection (arg=0x5619a2675570) at /data/src/10.4/sql/sql_connect.cc:1302
            #18 0x000056199ea15031 in pfs_spawn_thread (arg=0x5619a2767be0) at /data/src/10.4/storage/perfschema/pfs.cc:1862
            #19 0x00007ffb4b5d3494 in start_thread (arg=0x7ffb44278700) at pthread_create.c:333
            #20 0x00007ffb499b993f in clone () from /lib/x86_64-linux-gnu/libc.so.6
            {noformat}

            It started happening after MDEV-371, although there is no direct relation in the test case.
            elenst Elena Stepanova made changes -
            Description {code:sql}
            --source include/have_partition.inc

            CREATE TABLE t1 (a INT, UNIQUE USING HASH (a)) PARTITION BY HASH (a) PARTITIONS 2;
            INSERT INTO t1 VALUES (2);
            REPLACE INTO t1 VALUES (2);

            # Cleanup
            DROP TABLE t1;
            {code}
            {noformat:title=10.4 5a796f1f}
            mysqld: /data/src/10.4/sql/ha_partition.cc:5767: virtual int ha_partition::index_read_idx_map(uchar*, uint, const uchar*, key_part_map, ha_rkey_function): Assertion `m_part_spec.start_part >= m_part_spec.end_part' failed.
            190312 15:04:57 [ERROR] mysqld got signal 6 ;

            #7 0x00007ffb498fcee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
            #8 0x000056199ee7aa5a in ha_partition::index_read_idx_map (this=0x7ffb28139fb8, buf=0x7ffb280428f8 '\245' <repeats 16 times>, " )\004(\373\177", index=0, key=0x7ffb44276220 "", keypart_map=1, find_flag=HA_READ_KEY_EXACT) at /data/src/10.4/sql/ha_partition.cc:5767
            #9 0x000056199e6f93e2 in handler::ha_index_read_idx_map (this=0x7ffb28139fb8, buf=0x7ffb280428f8 '\245' <repeats 16 times>, " )\004(\373\177", index=0, key=0x7ffb44276220 "", keypart_map=1, find_flag=HA_READ_KEY_EXACT) at /data/src/10.4/sql/handler.cc:3068
            #10 0x000056199e365b32 in write_record (thd=0x7ffb28000b00, table=0x7ffb28139150, info=0x7ffb44276460) at /data/src/10.4/sql/sql_insert.cc:1772
            #11 0x000056199e363bdd in mysql_insert (thd=0x7ffb28000b00, table_list=0x7ffb280155b0, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_REPLACE, ignore=false) at /data/src/10.4/sql/sql_insert.cc:1067
            #12 0x000056199e3afe08 in mysql_execute_command (thd=0x7ffb28000b00) at /data/src/10.4/sql/sql_parse.cc:4838
            #13 0x000056199e3bbb63 in mysql_parse (thd=0x7ffb28000b00, rawbuf=0x7ffb280154c8 "REPLACE INTO t1 VALUES (2)", length=26, parser_state=0x7ffb44277180, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:8204
            #14 0x000056199e3a71a5 in dispatch_command (command=COM_QUERY, thd=0x7ffb28000b00, packet=0x7ffb2800a781 "REPLACE INTO t1 VALUES (2)", packet_length=26, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:1829
            #15 0x000056199e3a598b in do_command (thd=0x7ffb28000b00) at /data/src/10.4/sql/sql_parse.cc:1358
            #16 0x000056199e51f703 in do_handle_one_connection (connect=0x5619a2675570) at /data/src/10.4/sql/sql_connect.cc:1399
            #17 0x000056199e51f474 in handle_one_connection (arg=0x5619a2675570) at /data/src/10.4/sql/sql_connect.cc:1302
            #18 0x000056199ea15031 in pfs_spawn_thread (arg=0x5619a2767be0) at /data/src/10.4/storage/perfschema/pfs.cc:1862
            #19 0x00007ffb4b5d3494 in start_thread (arg=0x7ffb44278700) at pthread_create.c:333
            #20 0x00007ffb499b993f in clone () from /lib/x86_64-linux-gnu/libc.so.6
            {noformat}

            It started happening after MDEV-371, although there is no direct relation in the test case.
            {code:sql}
            --source include/have_partition.inc

            CREATE TABLE t1 (a INT, UNIQUE USING HASH (a)) PARTITION BY HASH (a) PARTITIONS 2;
            INSERT INTO t1 VALUES (2);
            REPLACE INTO t1 VALUES (2);

            # Cleanup
            DROP TABLE t1;
            {code}
            {noformat:title=10.4 5a796f1f}
            mysqld: /data/src/10.4/sql/ha_partition.cc:5767: virtual int ha_partition::index_read_idx_map(uchar*, uint, const uchar*, key_part_map, ha_rkey_function): Assertion `m_part_spec.start_part >= m_part_spec.end_part' failed.
            190312 15:04:57 [ERROR] mysqld got signal 6 ;

            #7 0x00007ffb498fcee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
            #8 0x000056199ee7aa5a in ha_partition::index_read_idx_map (this=0x7ffb28139fb8, buf=0x7ffb280428f8 '\245' <repeats 16 times>, " )\004(\373\177", index=0, key=0x7ffb44276220 "", keypart_map=1, find_flag=HA_READ_KEY_EXACT) at /data/src/10.4/sql/ha_partition.cc:5767
            #9 0x000056199e6f93e2 in handler::ha_index_read_idx_map (this=0x7ffb28139fb8, buf=0x7ffb280428f8 '\245' <repeats 16 times>, " )\004(\373\177", index=0, key=0x7ffb44276220 "", keypart_map=1, find_flag=HA_READ_KEY_EXACT) at /data/src/10.4/sql/handler.cc:3068
            #10 0x000056199e365b32 in write_record (thd=0x7ffb28000b00, table=0x7ffb28139150, info=0x7ffb44276460) at /data/src/10.4/sql/sql_insert.cc:1772
            #11 0x000056199e363bdd in mysql_insert (thd=0x7ffb28000b00, table_list=0x7ffb280155b0, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_REPLACE, ignore=false) at /data/src/10.4/sql/sql_insert.cc:1067
            #12 0x000056199e3afe08 in mysql_execute_command (thd=0x7ffb28000b00) at /data/src/10.4/sql/sql_parse.cc:4838
            #13 0x000056199e3bbb63 in mysql_parse (thd=0x7ffb28000b00, rawbuf=0x7ffb280154c8 "REPLACE INTO t1 VALUES (2)", length=26, parser_state=0x7ffb44277180, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:8204
            #14 0x000056199e3a71a5 in dispatch_command (command=COM_QUERY, thd=0x7ffb28000b00, packet=0x7ffb2800a781 "REPLACE INTO t1 VALUES (2)", packet_length=26, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:1829
            #15 0x000056199e3a598b in do_command (thd=0x7ffb28000b00) at /data/src/10.4/sql/sql_parse.cc:1358
            #16 0x000056199e51f703 in do_handle_one_connection (connect=0x5619a2675570) at /data/src/10.4/sql/sql_connect.cc:1399
            #17 0x000056199e51f474 in handle_one_connection (arg=0x5619a2675570) at /data/src/10.4/sql/sql_connect.cc:1302
            #18 0x000056199ea15031 in pfs_spawn_thread (arg=0x5619a2767be0) at /data/src/10.4/storage/perfschema/pfs.cc:1862
            #19 0x00007ffb4b5d3494 in start_thread (arg=0x7ffb44278700) at pthread_create.c:333
            #20 0x00007ffb499b993f in clone () from /lib/x86_64-linux-gnu/libc.so.6
            {noformat}

            It started happening after MDEV-371, although there is no direct relation in the test case.
            Reproducible with at least MyISAM and InnoDB.
            elenst Elena Stepanova made changes -
            elenst Elena Stepanova made changes -
            Description {code:sql}
            --source include/have_partition.inc

            CREATE TABLE t1 (a INT, UNIQUE USING HASH (a)) PARTITION BY HASH (a) PARTITIONS 2;
            INSERT INTO t1 VALUES (2);
            REPLACE INTO t1 VALUES (2);

            # Cleanup
            DROP TABLE t1;
            {code}
            {noformat:title=10.4 5a796f1f}
            mysqld: /data/src/10.4/sql/ha_partition.cc:5767: virtual int ha_partition::index_read_idx_map(uchar*, uint, const uchar*, key_part_map, ha_rkey_function): Assertion `m_part_spec.start_part >= m_part_spec.end_part' failed.
            190312 15:04:57 [ERROR] mysqld got signal 6 ;

            #7 0x00007ffb498fcee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
            #8 0x000056199ee7aa5a in ha_partition::index_read_idx_map (this=0x7ffb28139fb8, buf=0x7ffb280428f8 '\245' <repeats 16 times>, " )\004(\373\177", index=0, key=0x7ffb44276220 "", keypart_map=1, find_flag=HA_READ_KEY_EXACT) at /data/src/10.4/sql/ha_partition.cc:5767
            #9 0x000056199e6f93e2 in handler::ha_index_read_idx_map (this=0x7ffb28139fb8, buf=0x7ffb280428f8 '\245' <repeats 16 times>, " )\004(\373\177", index=0, key=0x7ffb44276220 "", keypart_map=1, find_flag=HA_READ_KEY_EXACT) at /data/src/10.4/sql/handler.cc:3068
            #10 0x000056199e365b32 in write_record (thd=0x7ffb28000b00, table=0x7ffb28139150, info=0x7ffb44276460) at /data/src/10.4/sql/sql_insert.cc:1772
            #11 0x000056199e363bdd in mysql_insert (thd=0x7ffb28000b00, table_list=0x7ffb280155b0, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_REPLACE, ignore=false) at /data/src/10.4/sql/sql_insert.cc:1067
            #12 0x000056199e3afe08 in mysql_execute_command (thd=0x7ffb28000b00) at /data/src/10.4/sql/sql_parse.cc:4838
            #13 0x000056199e3bbb63 in mysql_parse (thd=0x7ffb28000b00, rawbuf=0x7ffb280154c8 "REPLACE INTO t1 VALUES (2)", length=26, parser_state=0x7ffb44277180, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:8204
            #14 0x000056199e3a71a5 in dispatch_command (command=COM_QUERY, thd=0x7ffb28000b00, packet=0x7ffb2800a781 "REPLACE INTO t1 VALUES (2)", packet_length=26, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:1829
            #15 0x000056199e3a598b in do_command (thd=0x7ffb28000b00) at /data/src/10.4/sql/sql_parse.cc:1358
            #16 0x000056199e51f703 in do_handle_one_connection (connect=0x5619a2675570) at /data/src/10.4/sql/sql_connect.cc:1399
            #17 0x000056199e51f474 in handle_one_connection (arg=0x5619a2675570) at /data/src/10.4/sql/sql_connect.cc:1302
            #18 0x000056199ea15031 in pfs_spawn_thread (arg=0x5619a2767be0) at /data/src/10.4/storage/perfschema/pfs.cc:1862
            #19 0x00007ffb4b5d3494 in start_thread (arg=0x7ffb44278700) at pthread_create.c:333
            #20 0x00007ffb499b993f in clone () from /lib/x86_64-linux-gnu/libc.so.6
            {noformat}

            It started happening after MDEV-371, although there is no direct relation in the test case.
            Reproducible with at least MyISAM and InnoDB.
            {code:sql}
            --source include/have_partition.inc

            CREATE TABLE t1 (a INT, UNIQUE USING HASH (a)) PARTITION BY HASH (a) PARTITIONS 2;
            INSERT INTO t1 VALUES (2);
            REPLACE INTO t1 VALUES (2);

            # Cleanup
            DROP TABLE t1;
            {code}
            {noformat:title=10.4 5a796f1f}
            mysqld: /data/src/10.4/sql/ha_partition.cc:5767: virtual int ha_partition::index_read_idx_map(uchar*, uint, const uchar*, key_part_map, ha_rkey_function): Assertion `m_part_spec.start_part >= m_part_spec.end_part' failed.
            190312 15:04:57 [ERROR] mysqld got signal 6 ;

            #7 0x00007ffb498fcee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
            #8 0x000056199ee7aa5a in ha_partition::index_read_idx_map (this=0x7ffb28139fb8, buf=0x7ffb280428f8 '\245' <repeats 16 times>, " )\004(\373\177", index=0, key=0x7ffb44276220 "", keypart_map=1, find_flag=HA_READ_KEY_EXACT) at /data/src/10.4/sql/ha_partition.cc:5767
            #9 0x000056199e6f93e2 in handler::ha_index_read_idx_map (this=0x7ffb28139fb8, buf=0x7ffb280428f8 '\245' <repeats 16 times>, " )\004(\373\177", index=0, key=0x7ffb44276220 "", keypart_map=1, find_flag=HA_READ_KEY_EXACT) at /data/src/10.4/sql/handler.cc:3068
            #10 0x000056199e365b32 in write_record (thd=0x7ffb28000b00, table=0x7ffb28139150, info=0x7ffb44276460) at /data/src/10.4/sql/sql_insert.cc:1772
            #11 0x000056199e363bdd in mysql_insert (thd=0x7ffb28000b00, table_list=0x7ffb280155b0, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_REPLACE, ignore=false) at /data/src/10.4/sql/sql_insert.cc:1067
            #12 0x000056199e3afe08 in mysql_execute_command (thd=0x7ffb28000b00) at /data/src/10.4/sql/sql_parse.cc:4838
            #13 0x000056199e3bbb63 in mysql_parse (thd=0x7ffb28000b00, rawbuf=0x7ffb280154c8 "REPLACE INTO t1 VALUES (2)", length=26, parser_state=0x7ffb44277180, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:8204
            #14 0x000056199e3a71a5 in dispatch_command (command=COM_QUERY, thd=0x7ffb28000b00, packet=0x7ffb2800a781 "REPLACE INTO t1 VALUES (2)", packet_length=26, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:1829
            #15 0x000056199e3a598b in do_command (thd=0x7ffb28000b00) at /data/src/10.4/sql/sql_parse.cc:1358
            #16 0x000056199e51f703 in do_handle_one_connection (connect=0x5619a2675570) at /data/src/10.4/sql/sql_connect.cc:1399
            #17 0x000056199e51f474 in handle_one_connection (arg=0x5619a2675570) at /data/src/10.4/sql/sql_connect.cc:1302
            #18 0x000056199ea15031 in pfs_spawn_thread (arg=0x5619a2767be0) at /data/src/10.4/storage/perfschema/pfs.cc:1862
            #19 0x00007ffb4b5d3494 in start_thread (arg=0x7ffb44278700) at pthread_create.c:333
            #20 0x00007ffb499b993f in clone () from /lib/x86_64-linux-gnu/libc.so.6
            {noformat}

            It started happening after MDEV-371, although there is no direct relation in the test case.
            Reproducible with at least MyISAM and InnoDB.
            Also reproducible on bb-10.4-sachin 42af178a.
            elenst Elena Stepanova made changes -
            Assignee Elena Stepanova [ elenst ] Sachin Setiya [ sachin.setiya.007 ]
            sachin.setiya.007 Sachin Setiya (Inactive) made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            sachin.setiya.007 Sachin Setiya (Inactive) made changes -
            Assignee Sachin Setiya [ sachin.setiya.007 ] Sergei Golubchik [ serg ]
            Status In Progress [ 3 ] In Review [ 10002 ]
            serg Sergei Golubchik made changes -
            Assignee Sergei Golubchik [ serg ] Sachin Setiya [ sachin.setiya.007 ]
            Status In Review [ 10002 ] Stalled [ 10000 ]
            sachin.setiya.007 Sachin Setiya (Inactive) made changes -
            issue.field.resolutiondate 2019-03-23 12:59:08.0 2019-03-23 12:59:08.427
            sachin.setiya.007 Sachin Setiya (Inactive) made changes -
            Fix Version/s 10.4.4 [ 23310 ]
            Fix Version/s 10.4 [ 22408 ]
            Resolution Fixed [ 1 ]
            Status Stalled [ 10000 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 93221 ] MariaDB v4 [ 155911 ]

            People

              sachin.setiya.007 Sachin Setiya (Inactive)
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.