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

Assertion `row_start_field' failed in vers_prepare_keys

    XMLWordPrintable

Details

    Description

      CREATE TABLE t1 (t INT) WITH SYSTEM VERSIONING;
      ALTER TABLE t1 ADD SYSTEM VERSIONING, DROP SYSTEM VERSIONING;
      

      bb-10.3-temporal 79dd77e6aebc86

      mysqld: /data/src/bb-10.3-temporal/sql/sql_table.cc:4348: bool vers_prepare_keys(THD*, HA_CREATE_INFO*, Alter_info*, KEY**, uint): Assertion `row_start_field' failed.
      171212 11:56:18 [ERROR] mysqld got signal 6 ;
       
      #7  0x00007f921b40dee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
      #8  0x0000560fb84e0e2e in vers_prepare_keys (thd=0x7f91a8000b00, create_info=0x7f9205c46ce0, alter_info=0x7f9205c46c30, key_info=0x7f9205c45208, key_count=0) at /data/src/bb-10.3-temporal/sql/sql_table.cc:4348
      #9  0x0000560fb84e1b39 in mysql_create_frm_image (thd=0x7f91a8000b00, db=0x7f91a8013ee8 "test", table_name=0x7f91a8013878 "t1", create_info=0x7f9205c46ce0, alter_info=0x7f9205c46c30, create_table_mode=-2, key_info=0x7f9205c45208, key_count=0x7f9205c451dc, frm=0x7f9205c45270) at /data/src/bb-10.3-temporal/sql/sql_table.cc:4627
      #10 0x0000560fb84e25c0 in create_table_impl (thd=0x7f91a8000b00, orig_db=0x7f91a8013ee8 "test", orig_table_name=0x7f91a8013878 "t1", db=0x7f91a8013ee8 "test", table_name=0x7f9205c46100 "#sql-3592_9", path=0x7f9205c4696c "./test/#sql-3592_9", options=..., create_info=0x7f9205c46ce0, alter_info=0x7f9205c46c30, create_table_mode=-2, is_trans=0x0, key_info=0x7f9205c45208, key_count=0x7f9205c451dc, frm=0x7f9205c45270) at /data/src/bb-10.3-temporal/sql/sql_table.cc:4876
      #11 0x0000560fb84ee8b4 in mysql_alter_table (thd=0x7f91a8000b00, new_db=0x7f91a8013ee8 "test", new_name=0x0, create_info=0x7f9205c46ce0, table_list=0x7f91a80138b0, alter_info=0x7f9205c46c30, order_num=0, order=0x0, ignore=false) at /data/src/bb-10.3-temporal/sql/sql_table.cc:9361
      #12 0x0000560fb8577df5 in Sql_cmd_alter_table::execute (this=0x7f91a8013ef0, thd=0x7f91a8000b00) at /data/src/bb-10.3-temporal/sql/sql_alter.cc:331
      #13 0x0000560fb841b5bb in mysql_execute_command (thd=0x7f91a8000b00) at /data/src/bb-10.3-temporal/sql/sql_parse.cc:6256
      #14 0x0000560fb84200ec in mysql_parse (thd=0x7f91a8000b00, rawbuf=0x7f91a8013788 "ALTER TABLE t1 ADD SYSTEM VERSIONING, DROP SYSTEM VERSIONING", length=60, parser_state=0x7f9205c48640, is_com_multi=false, is_next_command=false) at /data/src/bb-10.3-temporal/sql/sql_parse.cc:7985
      #15 0x0000560fb840d85a in dispatch_command (command=COM_QUERY, thd=0x7f91a8000b00, packet=0x7f91a801b9b1 "ALTER TABLE t1 ADD SYSTEM VERSIONING, DROP SYSTEM VERSIONING", packet_length=60, is_com_multi=false, is_next_command=false) at /data/src/bb-10.3-temporal/sql/sql_parse.cc:1829
      #16 0x0000560fb840c27b in do_command (thd=0x7f91a8000b00) at /data/src/bb-10.3-temporal/sql/sql_parse.cc:1371
      #17 0x0000560fb857296e in do_handle_one_connection (connect=0x560fbba76250) at /data/src/bb-10.3-temporal/sql/sql_connect.cc:1420
      #18 0x0000560fb85726fb in handle_one_connection (arg=0x560fbba76250) at /data/src/bb-10.3-temporal/sql/sql_connect.cc:1326
      #19 0x00007f921d0e4494 in start_thread (arg=0x7f9205c49700) at pthread_create.c:333
      #20 0x00007f921b4ca93f in clone () from /lib/x86_64-linux-gnu/libc.so.6
      

      Attachments

        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.