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

Assertion `file->s->base.reclength < file->s->vreclength' failed in ha_myisam::setup_vcols_for_repair

    XMLWordPrintable

Details

    Description

      CREATE TABLE t1 (a INT GENERATED ALWAYS AS (1) VIRTUAL) ENGINE=MyISAM;
      ALTER TABLE t1 ADD KEY (a);
       
      # Cleanup
      DROP TABLE t1;
      

      10.4 de51acd0

      mysqld: /data/src/10.4/storage/myisam/ha_myisam.cc:974: void ha_myisam::setup_vcols_for_repair(HA_CHECK*): Assertion `file->s->base.reclength < file->s->vreclength' failed.
      190321 16:36:08 [ERROR] mysqld got signal 6 ;
       
      #7  0x00007fb43d947ee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
      #8  0x000055e6766d4710 in ha_myisam::setup_vcols_for_repair (this=0x7fb41c14c858, param=0x7fb41c043378) at /data/src/10.4/storage/myisam/ha_myisam.cc:974
      #9  0x000055e6766d6cc0 in ha_myisam::enable_indexes (this=0x7fb41c14c858, mode=2) at /data/src/10.4/storage/myisam/ha_myisam.cc:1642
      #10 0x000055e6766d71d6 in ha_myisam::end_bulk_insert (this=0x7fb41c14c858) at /data/src/10.4/storage/myisam/ha_myisam.cc:1805
      #11 0x000055e675c4b011 in handler::ha_end_bulk_insert (this=0x7fb41c14c858) at /data/src/10.4/sql/handler.h:3281
      #12 0x000055e675d75c76 in copy_data_between_tables (thd=0x7fb41c000b00, from=0x7fb41c13c350, to=0x7fb41c14b590, create=..., ignore=false, order_num=0, order=0x0, copied=0x7fb4382bf698, deleted=0x7fb4382bf6a0, keys_onoff=Alter_info::LEAVE_AS_IS, alter_ctx=0x7fb4382c00e0) at /data/src/10.4/sql/sql_table.cc:10729
      #13 0x000055e675d7388f in mysql_alter_table (thd=0x7fb41c000b00, new_db=0x7fb41c005298, new_name=0x7fb41c005698, create_info=0x7fb4382c0cd0, table_list=0x7fb41c0156d0, alter_info=0x7fb4382c0c10, order_num=0, order=0x0, ignore=false) at /data/src/10.4/sql/sql_table.cc:10085
      #14 0x000055e675e0489c in Sql_cmd_alter_table::execute (this=0x7fb41c015e48, thd=0x7fb41c000b00) at /data/src/10.4/sql/sql_alter.cc:499
      #15 0x000055e675c9258c in mysql_execute_command (thd=0x7fb41c000b00) at /data/src/10.4/sql/sql_parse.cc:6394
      #16 0x000055e675c97725 in mysql_parse (thd=0x7fb41c000b00, rawbuf=0x7fb41c0155e8 "ALTER TABLE t1 ADD KEY (a)", length=26, parser_state=0x7fb4382c2180, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:8205
      #17 0x000055e675c82d55 in dispatch_command (command=COM_QUERY, thd=0x7fb41c000b00, packet=0x7fb41c00a8a1 "", packet_length=26, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:1829
      #18 0x000055e675c8153b in do_command (thd=0x7fb41c000b00) at /data/src/10.4/sql/sql_parse.cc:1358
      #19 0x000055e675dfb445 in do_handle_one_connection (connect=0x55e679b9d4e0) at /data/src/10.4/sql/sql_connect.cc:1399
      #20 0x000055e675dfb1b6 in handle_one_connection (arg=0x55e679b9d4e0) at /data/src/10.4/sql/sql_connect.cc:1302
      #21 0x000055e6762f0f7f in pfs_spawn_thread (arg=0x55e679c8f8d0) at /data/src/10.4/storage/perfschema/pfs.cc:1862
      #22 0x00007fb43f836494 in start_thread (arg=0x7fb4382c3700) at pthread_create.c:333
      #23 0x00007fb43da0493f in clone () from /lib/x86_64-linux-gnu/libc.so.6
      

      Attachments

        Issue Links

          Activity

            People

              nikitamalyavin Nikita Malyavin
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              5 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.