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

Assertion `0' failed in TABLE::vers_update_fields

    XMLWordPrintable

Details

    Description

      --source include/have_innodb.inc
      --source include/have_partition.inc
       
      CREATE TABLE t1 (i INT) ENGINE=InnoDB WITH SYSTEM VERSIONING PARTITION BY HASH(i);
      ALTER TABLE t1 ENGINE=MyISAM;
      INSERT INTO t1 VALUES (1),(2);
       
      # Cleanup
      DROP TABLE t1;
      

      bb-10.3-temporal 8e8363bb7540

      mysqld: /data/src/bb-10.3-temporal/sql/table.cc:7753: void TABLE::vers_update_fields(): Assertion `0' failed.
      171214 14:37:59 [ERROR] mysqld got signal 6 ;
       
      #7  0x00007fe5afafaee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
      #8  0x000055caf3e2877c in TABLE::vers_update_fields (this=0x7fe55408d1b0) at /data/src/bb-10.3-temporal/sql/table.cc:7753
      #9  0x000055caf3cd9a08 in mysql_insert (thd=0x7fe554000b00, table_list=0x7fe554014d20, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_ERROR, ignore=false) at /data/src/bb-10.3-temporal/sql/sql_insert.cc:1054
      #10 0x000055caf3d0fcde in mysql_execute_command (thd=0x7fe554000b00) at /data/src/bb-10.3-temporal/sql/sql_parse.cc:4711
      #11 0x000055caf3d1a468 in mysql_parse (thd=0x7fe554000b00, rawbuf=0x7fe554014c38 "INSERT INTO t1 VALUES (1),(2)", length=29, parser_state=0x7fe5a81025f0, is_com_multi=false, is_next_command=false) at /data/src/bb-10.3-temporal/sql/sql_parse.cc:7984
      #12 0x000055caf3d07bd4 in dispatch_command (command=COM_QUERY, thd=0x7fe554000b00, packet=0x7fe554160011 "INSERT INTO t1 VALUES (1),(2)", packet_length=29, is_com_multi=false, is_next_command=false) at /data/src/bb-10.3-temporal/sql/sql_parse.cc:1829
      #13 0x000055caf3d065f5 in do_command (thd=0x7fe554000b00) at /data/src/bb-10.3-temporal/sql/sql_parse.cc:1371
      #14 0x000055caf3e6c64c in do_handle_one_connection (connect=0x55caf67a27b0) at /data/src/bb-10.3-temporal/sql/sql_connect.cc:1420
      #15 0x000055caf3e6c3d9 in handle_one_connection (arg=0x55caf67a27b0) at /data/src/bb-10.3-temporal/sql/sql_connect.cc:1326
      #16 0x000055caf4302456 in pfs_spawn_thread (arg=0x55caf684c030) at /data/src/bb-10.3-temporal/storage/perfschema/pfs.cc:1863
      #17 0x00007fe5b17d1494 in start_thread (arg=0x7fe5a8103700) at pthread_create.c:333
      #18 0x00007fe5afbb793f in clone () from /lib/x86_64-linux-gnu/libc.so.6
      

      Attachments

        Activity

          People

            midenok Aleksey Midenkov
            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.