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

Assertion `auto_increment_value' failed in sql/ha_partition.cc:6570: virtual int ha_partition::info(uint) on running TokuDB with embedded server

    XMLWordPrintable

Details

    Description

      perl ./mtr --embedded tokudb_parts.partition_auto_increment_tokudb
      

      10.1 f35e918989

      mysqltest_embedded: /data/src/10.1-bug3/sql/ha_partition.cc:6570: virtual int ha_partition::info(uint): Assertion `auto_increment_value' failed.
      mysqltest got signal 6
       
      #7  0x00007f2ecbe8f312 in __GI___assert_fail (assertion=0x7f2ecf17fdf9 "auto_increment_value", file=0x7f2ecf17e178 "/data/src/10.1-bug3/sql/ha_partition.cc", line=6570, function=0x7f2ecf181ba0 <ha_partition::info(unsigned int)::__PRETTY_FUNCTION__> "virtual int ha_partition::info(uint)") at assert.c:101
      #8  0x00007f2eced60325 in ha_partition::info (this=0x7f2ea005f868, flag=64) at /data/src/10.1-bug3/sql/ha_partition.cc:6570
      #9  0x00007f2eced5b59a in ha_partition::write_row (this=0x7f2ea005f868, buf=0x7f2ea0047ec0 "\377") at /data/src/10.1-bug3/sql/ha_partition.cc:4117
      #10 0x00007f2ece9849ad in handler::ha_write_row (this=0x7f2ea005f868, buf=0x7f2ea0047ec0 "\377") at /data/src/10.1-bug3/sql/handler.cc:5915
      #11 0x00007f2ece6c0a01 in write_record (thd=0x7f2ed0b56110, table=0x7f2ea002b950, info=0x7f2ece0012f0) at /data/src/10.1-bug3/sql/sql_insert.cc:1882
      #12 0x00007f2ece6be5a0 in mysql_insert (thd=0x7f2ed0b56110, table_list=0x7f2ed0bc0d70, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_ERROR, ignore=false) at /data/src/10.1-bug3/sql/sql_insert.cc:991
      #13 0x00007f2ece5ea1aa in mysql_execute_command (thd=0x7f2ed0b56110) at /data/src/10.1-bug3/sql/sql_parse.cc:3897
      #14 0x00007f2ece5f03a5 in mysql_parse (thd=0x7f2ed0b56110, rawbuf=0x7f2ed0bc0c88 "INSERT INTO t1 VALUES (NULL)", length=28, parser_state=0x7f2ece001a80) at /data/src/10.1-bug3/sql/sql_parse.cc:7318
      #15 0x00007f2ece5e55a9 in dispatch_command (command=COM_QUERY, thd=0x7f2ed0b56110, packet=0x7f2ed0ba2200 "INSERT INTO t1 VALUES (NULL)", packet_length=28) at /data/src/10.1-bug3/sql/sql_parse.cc:1487
      #16 0x00007f2ece5d7213 in emb_advanced_command (mysql=0x7f2ed0badf10, command=COM_QUERY, header=0x0, header_length=0, arg=0x7f2ed0ba2200 "INSERT INTO t1 VALUES (NULL)", arg_length=28, skip_check=1 '\001', stmt=0x0) at /data/src/10.1-bug3/libmysqld/lib_sql.cc:168
      #17 0x00007f2ece6b9a3f in mysql_send_query (mysql=0x7f2ed0badf10, query=0x7f2ed0ba2200 "INSERT INTO t1 VALUES (NULL)", length=28) at /data/src/10.1-bug3/sql-common/client.c:4067
      #18 0x00007f2ece5828bd in connection_thread (arg=0x7f2ed0aa5bb0) at /data/src/10.1-bug3/client/mysqltest.cc:880
      #19 0x00007f2ecdd5c0a4 in start_thread (arg=0x7f2ece002b00) at pthread_create.c:309
      #20 0x00007f2ecbf4987d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              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.