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

Assertion `table->s->db_options_in_use == part_table->s->db_options_in_use' failed in compare_table_with_partition

    XMLWordPrintable

Details

    • Bug
    • Status: Confirmed (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.3(EOL), 10.4(EOL), 10.5, 10.6, 10.7(EOL)
    • 10.5, 10.6
    • None
    • None

    Description

      --source include/have_partition.inc
       
      set debug_dbug="+d,test_completely_invisible,test_invisible_index";
      create table t1 (i int) partition by key( i ) partitions 2;
      set debug_dbug="";
      create table t2 (i int);
      alter table t1 exchange partition p1 with table t2 ;
       
      drop table t1,t2;
      

      10.3 d5ce7824444b7491f420061076

      mysqld: /10.3/sql/sql_partition_admin.cc:255: bool compare_table_with_partition(THD*, TABLE*, TABLE*, partition_element*, uint): Assertion `table->s->db_options_in_use == part_table->s->db_options_in_use' failed.
      201102 16:18:14 [ERROR] mysqld got signal 6 ;
       
      Server version: 10.3.26-MariaDB-debug-log
       
      stdlib/abort.c:81(__GI_abort)[0x7f30bc14c535]
      intl/loadmsgcat.c:1177(_nl_load_domain)[0x7f30bc14c40f]
      /lib/x86_64-linux-gnu/libc.so.6(+0x30102)[0x7f30bc15a102]
      sql/sql_partition_admin.cc:257(compare_table_with_partition(THD*, TABLE*, TABLE*, partition_element*, unsigned int))[0x560bb6819101]
      sql/sql_partition_admin.cc:593(Sql_cmd_alter_table_exchange_partition::exchange_partition(THD*, TABLE_LIST*, Alter_info*))[0x560bb681b2fa]
      sql/sql_partition_admin.cc:99(Sql_cmd_alter_table_exchange_partition::execute(THD*))[0x560bb6817a6f]
      sql/sql_parse.cc:6054(mysql_execute_command(THD*))[0x560bb5b8851b]
      sql/sql_parse.cc:7839(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x560bb5b94d9d]
      sql/sql_parse.cc:1855(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x560bb5b6b43b]
      sql/sql_parse.cc:1398(do_command(THD*))[0x560bb5b67b76]
      sql/sql_connect.cc:1403(do_handle_one_connection(CONNECT*))[0x560bb5f577b1]
      sql/sql_connect.cc:1309(handle_one_connection)[0x560bb5f57069]
      perfschema/pfs.cc:1871(pfs_spawn_thread)[0x560bb76b9ba9]
      nptl/pthread_create.c:487(start_thread)[0x7f30bc89ffa3]
      x86_64/clone.S:97(clone)[0x7f30bc2234cf]
      

      Attachments

        Issue Links

          Activity

            People

              sanja Oleksandr Byelkin
              alice Alice Sherepa
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.