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

Assertion `t->mysql_col_len == 8' failed in row_insert_for_mysql

    XMLWordPrintable

Details

    Description

      --source include/have_innodb.inc
      --source include/have_partition.inc
       
      CREATE OR REPLACE TABLE t1 (i INT) ENGINE=InnoDB PARTITION BY KEY(i);
      ALTER TABLE t1 ADD SYSTEM VERSIONING;
      INSERT INTO t1 VALUES ();
       
      # Cleanup
      DROP TABLE t1;
      

      bb-10.3-temporal 8e8363bb7540a

      mysqld: /data/src/bb-10.3-temporal/storage/innobase/row/row0mysql.cc:1522: dberr_t row_insert_for_mysql(const byte*, row_prebuilt_t*, ins_mode_t): Assertion `t->mysql_col_len == 8' failed.
      171214 14:08:53 [ERROR] mysqld got signal 6 ;
       
      #7  0x00007f1504ab5ee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
      #8  0x0000563aad968710 in row_insert_for_mysql (mysql_rec=0x7f14ac00ce88 "\363", prebuilt=0x7f14ac06e998, ins_mode=ROW_INS_VERSIONED) at /data/src/bb-10.3-temporal/storage/innobase/row/row0mysql.cc:1522
      #9  0x0000563aad80c5e1 in ha_innobase::write_row (this=0x7f14ac06d958, record=0x7f14ac00ce88 "\363") at /data/src/bb-10.3-temporal/storage/innobase/handler/ha_innodb.cc:8403
      #10 0x0000563aad4e1c55 in handler::ha_write_row (this=0x7f14ac06d958, buf=0x7f14ac00ce88 "\363") at /data/src/bb-10.3-temporal/sql/handler.cc:6110
      #11 0x0000563aadc72604 in ha_partition::write_row (this=0x7f14ac00c608, buf=0x7f14ac00ce88 "\363") at /data/src/bb-10.3-temporal/sql/ha_partition.cc:4276
      #12 0x0000563aad4e1c03 in handler::ha_write_row (this=0x7f14ac00c608, buf=0x7f14ac00ce88 "\363") at /data/src/bb-10.3-temporal/sql/handler.cc:6110
      #13 0x0000563aad1c4797 in write_record (thd=0x7f14ac000b00, table=0x7f14ac00b9c0, info=0x7f14f8097350) at /data/src/bb-10.3-temporal/sql/sql_insert.cc:2036
      #14 0x0000563aad1c1b7e in mysql_insert (thd=0x7f14ac000b00, table_list=0x7f14ac014d18, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_ERROR, ignore=false) at /data/src/bb-10.3-temporal/sql/sql_insert.cc:1079
      #15 0x0000563aad1f7cde in mysql_execute_command (thd=0x7f14ac000b00) at /data/src/bb-10.3-temporal/sql/sql_parse.cc:4711
      #16 0x0000563aad202468 in mysql_parse (thd=0x7f14ac000b00, rawbuf=0x7f14ac014c38 "INSERT INTO t1 VALUES ()", length=24, parser_state=0x7f14f80985f0, is_com_multi=false, is_next_command=false) at /data/src/bb-10.3-temporal/sql/sql_parse.cc:7984
      #17 0x0000563aad1efbd4 in dispatch_command (command=COM_QUERY, thd=0x7f14ac000b00, packet=0x7f14ac160011 "INSERT INTO t1 VALUES ()", packet_length=24, is_com_multi=false, is_next_command=false) at /data/src/bb-10.3-temporal/sql/sql_parse.cc:1829
      #18 0x0000563aad1ee5f5 in do_command (thd=0x7f14ac000b00) at /data/src/bb-10.3-temporal/sql/sql_parse.cc:1371
      #19 0x0000563aad35464c in do_handle_one_connection (connect=0x563ab12687b0) at /data/src/bb-10.3-temporal/sql/sql_connect.cc:1420
      #20 0x0000563aad3543d9 in handle_one_connection (arg=0x563ab12687b0) at /data/src/bb-10.3-temporal/sql/sql_connect.cc:1326
      #21 0x0000563aad7ea456 in pfs_spawn_thread (arg=0x563ab1312030) at /data/src/bb-10.3-temporal/storage/perfschema/pfs.cc:1863
      #22 0x00007f150678c494 in start_thread (arg=0x7f14f8099700) at pthread_create.c:333
      #23 0x00007f1504b7293f in clone () from /lib/x86_64-linux-gnu/libc.so.6
      

      Attachments

        Issue Links

          Activity

            People

              kevg Eugene Kosov (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.