UniqueID: !((col->prtype ^ prtype) & ~(16384U|32768U))|SIGABRT|innobase_rename_or_enlarge_column_try|innobase_rename_or_enlarge_columns_try|commit_try_norebuild|ha_innobase::commit_inplace_alter_table Branch Revision: 16ec27c23c614ebea8f58a38adf601ea70e7c549 Error log: mariadbd: /test/bb-10.6-MDEV-32830-qa_dbg/storage/innobase/handler/handler0alter.cc:9615: bool innobase_rename_or_enlarge_column_try(ha_innobase_inplace_ctx*, trx_t*, const char*, ulint, const Field&, bool): Assertion `!((col->prtype ^ prtype) & ~(16384U|32768U))' failed. Full Stack: Core was generated by `/test/PATCH4_MD281123-mariadb-10.6.17-linux-x86_64-dbg/bin/mariadbd --no-defaul'. Program terminated with signal SIGABRT, Aborted. #0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=22866680206912) at ./nptl/pthread_kill.c:44 [Current thread is 1 (Thread 0x14cc1059d640 (LWP 2661951))] (gdb) bt #0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=22866680206912) at ./nptl/pthread_kill.c:44 #1 __pthread_kill_internal (signo=6, threadid=22866680206912) at ./nptl/pthread_kill.c:78 #2 __GI___pthread_kill (threadid=22866680206912, signo=signo@entry=6) at ./nptl/pthread_kill.c:89 #3 0x000014cc11e42476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #4 0x000014cc11e287f3 in __GI_abort () at ./stdlib/abort.c:79 #5 0x000014cc11e2871b in __assert_fail_base (fmt=0x14cc11fdd150 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x55b1aa703b48 "!((col->prtype ^ prtype) & ~(16384U|32768U))", file=0x55b1aa6fb0c8 "/test/bb-10.6-MDEV-32830-qa_dbg/storage/innobase/handler/handler0alter.cc", line=9615, function=) at ./assert/assert.c:92 #6 0x000014cc11e39e96 in __GI___assert_fail (assertion=0x55b1aa703b48 "!((col->prtype ^ prtype) & ~(16384U|32768U))", file=0x55b1aa6fb0c8 "/test/bb-10.6-MDEV-32830-qa_dbg/storage/innobase/handler/handler0alter.cc", line=9615, function=0x55b1aa703a60 "bool innobase_rename_or_enlarge_column_try(ha_innobase_inplace_ctx*, trx_t*, const char*, ulint, const Field&, bool)") at ./assert/assert.c:101 #7 0x000055b1a9f6c010 in innobase_rename_or_enlarge_column_try (is_v=, f=@0x14cbc453fe00: { = {}, _vptr.Field = 0x55b1aac3f5e0 , ptr = 0x14cbc453fdd9 "", null_ptr = 0x14cbc453fdd8 "\377", table = 0x14cc10598d30, orig_table = 0x14cc10598d30, table_name = 0x14cc10598e40, field_name = {str = 0x14cbc4840c71 "d", length = 1}, comment = {str = 0x55b1aa664d64 "", length = 0}, option_list = 0x0, option_struct = 0x0, key_start = {static BITS_PER_ELEMENT = 64, static ARRAY_ELEMENTS = 1, static ALL_BITS_SET = 18446744073709551615, buffer = {0}}, part_of_key = {static BITS_PER_ELEMENT = 64, static ARRAY_ELEMENTS = 1, static ALL_BITS_SET = 18446744073709551615, buffer = {0}}, part_of_key_not_clustered = {static BITS_PER_ELEMENT = 64, static ARRAY_ELEMENTS = 1, static ALL_BITS_SET = 18446744073709551615, buffer = {0}}, part_of_sortkey = {static BITS_PER_ELEMENT = 64, static ARRAY_ELEMENTS = 1, static ALL_BITS_SET = 18446744073709551615, buffer = {0}}, unireg_check = Field::NONE, invisible = VISIBLE, field_length = 11, flags = 0, field_index = 0, null_bit = 2 '\002', is_created_from_null_item = false, cond_selectivity = 1, next_equal_field = 0x0, read_stats = 0x0, collected_stats = 0x0, vcol_info = 0x0, check_constraint = 0x0, default_value = 0x0}, pos=0, table_name=0x14cbc46f4315 "t3", trx=0x14cc108a2180, ctx=0x14cbc483c478) at /test/bb-10.6-MDEV-32830-qa_dbg/storage/innobase/handler/handler0alter.cc:9615 #8 innobase_rename_or_enlarge_columns_try (table_name=0x14cbc46f4315 "t3", trx=0x14cc108a2180, table=0x14cbc4754918, altered_table=0x14cc10598d30, ctx=0x14cbc483c478, ha_alter_info=0x14cc10598c70) at /test/bb-10.6-MDEV-32830-qa_dbg/storage/innobase/handler/handler0alter.cc:9681 #9 commit_try_norebuild (ha_alter_info=ha_alter_info@entry=0x14cc10598c70, ctx=ctx@entry=0x14cbc483c478, altered_table=altered_table@entry=0x14cc10598d30, old_table=0x14cbc4754918, trx=trx@entry=0x14cc108a2180, table_name=0x14cbc46f4315 "t3") at /test/bb-10.6-MDEV-32830-qa_dbg/storage/innobase/handler/handler0alter.cc:10699 #10 0x000055b1a9f573d1 in ha_innobase::commit_inplace_alter_table (this=, altered_table=, ha_alter_info=, commit=) at /test/bb-10.6-MDEV-32830-qa_dbg/storage/innobase/handler/handler0alter.cc:11474 #11 0x000055b1a9b9528f in handler::ha_commit_inplace_alter_table (this=0x14cbc483cae0, altered_table=altered_table@entry=0x14cc10598d30, ha_alter_info=ha_alter_info@entry=0x14cc10598c70, commit=commit@entry=true) at /test/bb-10.6-MDEV-32830-qa_dbg/sql/handler.cc:5347 #12 0x000055b1a998e4a2 in mysql_inplace_alter_table (thd=thd@entry=0x14cbc4000d58, table_list=0x14cbc483bae0, table=table@entry=0x14cbc4754918, altered_table=altered_table@entry=0x14cc10598d30, ha_alter_info=ha_alter_info@entry=0x14cc10598c70, target_mdl_request=target_mdl_request@entry=0x14cc10599580, ddl_log_state=0x14cc10598c00, trigger_param=0x14cc10599130, alter_ctx=0x14cc1059a450) at /test/bb-10.6-MDEV-32830-qa_dbg/sql/sql_table.cc:7537 #13 0x000055b1a99a07aa in mysql_alter_table (thd=thd@entry=0x14cbc4000d58, new_db=new_db@entry=0x14cbc40059e0, new_name=new_name@entry=0x14cbc4005e48, create_info=create_info@entry=0x14cc1059b2e0, table_list=, table_list@entry=0x14cbc483bae0, recreate_info=recreate_info@entry=0x14cc1059b150, alter_info=, order_num=, order=, ignore=, if_exists=) at /test/bb-10.6-MDEV-32830-qa_dbg/sql/sql_table.cc:10490 #14 0x000055b1a9a242ca in Sql_cmd_alter_table::execute (this=, thd=0x14cbc4000d58) at /test/bb-10.6-MDEV-32830-qa_dbg/sql/sql_alter.cc:675 #15 0x000055b1a98d2dd0 in mysql_execute_command (thd=thd@entry=0x14cbc4000d58, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /test/bb-10.6-MDEV-32830-qa_dbg/sql/sql_parse.cc:6026 #16 0x000055b1a98d4933 in mysql_parse (thd=thd@entry=0x14cbc4000d58, rawbuf=, length=, parser_state=parser_state@entry=0x14cc1059c1f0) at /test/bb-10.6-MDEV-32830-qa_dbg/sql/sql_parse.cc:8051 #17 0x000055b1a98d6ca9 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x14cbc4000d58, packet=packet@entry=0x14cbc4269d69 "ALTER TABLE t3 CHANGE a d INT;", packet_length=packet_length@entry=30, blocking=blocking@entry=true) at /test/bb-10.6-MDEV-32830-qa_dbg/sql/sql_class.h:241 #18 0x000055b1a98d8dc3 in do_command (thd=0x14cbc4000d58, blocking=blocking@entry=true) at /test/bb-10.6-MDEV-32830-qa_dbg/sql/sql_parse.cc:1409 #19 0x000055b1a9a1d195 in do_handle_one_connection (connect=, connect@entry=0x55b1adacfa28, put_in_cache=put_in_cache@entry=true) at /test/bb-10.6-MDEV-32830-qa_dbg/sql/sql_connect.cc:1416 #20 0x000055b1a9a1d48a in handle_one_connection (arg=arg@entry=0x55b1adacfa28) at /test/bb-10.6-MDEV-32830-qa_dbg/sql/sql_connect.cc:1318 #21 0x000055b1a9e6b6fa in pfs_spawn_thread (arg=0x55b1ada59f18) at /test/bb-10.6-MDEV-32830-qa_dbg/storage/perfschema/pfs.cc:2201 #22 0x000014cc11e94ac3 in start_thread (arg=) at ./nptl/pthread_create.c:442 #23 0x000014cc11f26a40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 Query: ALTER TABLE t3 CHANGE a d INT;