CREATETABLE t (id INTPRIMARYKEY, s TIMESTAMP(6) AS ROW START, e TIMESTAMP(6) AS ROW END, PERIOD FOR SYSTEM_TIME(s,e)) ENGINE=InnoDB WITH SYSTEM VERSIONING;
#7 0x00007f5971a44f36 in __GI___assert_fail (assertion=0x55982180e800 "!strcmp(index->name, \"FTS_DOC_ID_INDEX\")", file=0x55982180cb20 "/data/src/10.3/storage/innobase/row/row0ins.cc", line=3652, function=0x55982180e7b0 "dberr_t row_ins(ins_node_t*, que_thr_t*)") at assert.c:101
#8 0x000055982104d50f in row_ins (node=0x7f591c0af848, thr=0x7f591c0afab0) at /data/src/10.3/storage/innobase/row/row0ins.cc:3652
#9 0x000055982104dd68 in row_ins_step (thr=0x7f591c0afab0) at /data/src/10.3/storage/innobase/row/row0ins.cc:3788
#10 0x0000559821074f14 in row_insert_for_mysql (mysql_rec=0x7f591c127800 "\377\001", prebuilt=0x7f591c0af2d0, ins_mode=ROW_INS_NORMAL) at /data/src/10.3/storage/innobase/row/row0mysql.cc:1421
#11 0x0000559820eda0eb in ha_innobase::write_row (this=0x7f591c127c58, record=0x7f591c127800 "\377\001") at /data/src/10.3/storage/innobase/handler/ha_innodb.cc:8023
#12 0x0000559820cac1c1 in handler::ha_write_row (this=0x7f591c127c58, buf=0x7f591c127800 "\377\001") at /data/src/10.3/sql/handler.cc:6473
#13 0x0000559820a61e7f in copy_data_between_tables (thd=0x7f591c000d90, from=0x7f591c036a00, to=0x7f591c126bb0, create=..., ignore=false, order_num=0, order=0x0, copied=0x7f596c0580d0, deleted=0x7f596c0580d8, keys_onoff=Alter_info::LEAVE_AS_IS, alter_ctx=0x7f596c0588e0) at /data/src/10.3/sql/sql_table.cc:10654
#14 0x0000559820a5fd2c in mysql_alter_table (thd=0x7f591c000d90, new_db=0x7f591c005478, new_name=0x7f591c005840, create_info=0x7f596c0594d0, table_list=0x7f591c012bb8, alter_info=0x7f596c059410, order_num=0, order=0x0, ignore=false) at /data/src/10.3/sql/sql_table.cc:10083
#15 0x0000559820af003a in Sql_cmd_alter_table::execute (this=0x7f591c0132e8, thd=0x7f591c000d90) at /data/src/10.3/sql/sql_alter.cc:512
#16 0x000055982097b069 in mysql_execute_command (thd=0x7f591c000d90) at /data/src/10.3/sql/sql_parse.cc:6052
#17 0x00005598209808d0 in mysql_parse (thd=0x7f591c000d90, rawbuf=0x7f591c012ab8 "ALTER TABLE t ADD UNIQUE (e), ALGORITHM=COPY", length=44, parser_state=0x7f596c05a5c0, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:7840
#18 0x000055982096d034 in dispatch_command (command=COM_QUERY, thd=0x7f591c000d90, packet=0x7f591c008f11 "ALTER TABLE t ADD UNIQUE (e), ALGORITHM=COPY", packet_length=44, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:1852
#19 0x000055982096b9d4 in do_command (thd=0x7f591c000d90) at /data/src/10.3/sql/sql_parse.cc:1398
#20 0x0000559820ae9ed1 in do_handle_one_connection (connect=0x559823e33870) at /data/src/10.3/sql/sql_connect.cc:1403
#21 0x0000559820ae9c2d in handle_one_connection (arg=0x559823e33870) at /data/src/10.3/sql/sql_connect.cc:1308
#22 0x00005598214b58ff in pfs_spawn_thread (arg=0x559823e156a0) at /data/src/10.3/storage/perfschema/pfs.cc:1869
#23 0x00007f5971f54609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#24 0x00007f5971b30293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
The failure started happening after addition of the assertion:
commit 7410ff436e95de09c2f3f0028e7af8b3a043028b
Author: Aleksey Midenkov
Date: Tue Dec 22 03:33:53 2020 +0300
Thus, I can't say whether it's a regression or an old problem revealed by the new assertion.
Currently reproducible on 10.3 and 10.4, the commit is not in 10.5 yet.
No obvious problem on a non-debug build.
Attachments
Issue Links
duplicates
MDEV-25004Missing row in FTS_DOC_ID_INDEX during DELETE HISTORY
Here is a variation which also affects non-debug build. Same test as in the description, only instead of being a primary key, id is a nullable unique column, and NULLs are inserted.
--source include/have_innodb.inc
CREATETABLE t (id INTUNIQUE, s TIMESTAMP(6) AS ROW START, e TIMESTAMP(6) AS ROW END, PERIOD FOR SYSTEM_TIME(s,e)) ENGINE=InnoDB WITH SYSTEM VERSIONING;
INSERTINTO t (id) VALUES (NULL),(NULL);
DELETEFROM t;
SET system_versioning_alter_history= KEEP;
ALTERTABLE t ADDUNIQUE (e), ALGORITHM=COPY;
# Cleanup
DROPTABLE t;
10.3 non-debug 92a32809
2022-07-17 14:28:17 0x7fa4c0282700 InnoDB: Assertion failure in file /data/src/10.3/storage/innobase/row/row0ins.cc line 221
#9 0x000055e2ccdee6e7 in row_ins_sec_index_entry (index=0x7fa468116168, entry=0x7fa4681613e0, thr=0x7fa4681183a0, check_foreign=<optimized out>) at /data/src/10.3/storage/innobase/row/row0ins.cc:3292
err = <optimized out>
offsets_heap = 0x7fa468113fd0
heap = 0x7fa468114440
trx_id = <optimized out>
flags = 3
#10 0x000055e2ccdeee1b in row_ins_index_entry (thr=0x7fa4681183a0, entry=<optimized out>, index=<optimized out>) at /data/src/10.3/storage/innobase/row/row0ins.cc:3340
No locals.
#11 row_ins_index_entry_step (thr=0x7fa4681183a0, node=0x7fa468118148) at /data/src/10.3/storage/innobase/row/row0ins.cc:3489
err = DB_SUCCESS
err = <optimized out>
#12 row_ins (thr=<optimized out>, node=<optimized out>) at /data/src/10.3/storage/innobase/row/row0ins.cc:3648
err = <optimized out>
index = <optimized out>
type = <optimized out>
#13 row_ins_step (thr=thr@entry=0x7fa4681183a0) at /data/src/10.3/storage/innobase/row/row0ins.cc:3798
error_handling = <optimized out>
node = <optimized out>
parent = <optimized out>
sel_node = <optimized out>
trx = <optimized out>
err = <optimized out>
#14 0x000055e2cce004ad in row_insert_for_mysql (mysql_rec=<optimized out>, prebuilt=0x7fa468117c08, ins_mode=ROW_INS_NORMAL) at /data/src/10.3/storage/innobase/row/row0mysql.cc:1419
savept = {least_undo_no = 0}
thr = 0x7fa4681183a0
err = DB_SUCCESS
was_lock_wait = <optimized out>
trx = 0x7fa4c052d068
node = 0x7fa468118148
table = 0x7fa468113708
blob_heap = <optimized out>
#15 0x000055e2ccd4c315 in ha_innobase::write_row (this=0x7fa4681673c0, record=0x7fa468167b08 "\377") at /data/src/10.3/storage/innobase/handler/ha_innodb.cc:8184
error = <optimized out>
wsrep_auto_inc_inserted = false
error_result = 0
auto_inc_used = false
trx = 0x7fa4c052d068
vers_set_fields = <optimized out>
#16 0x000055e2ccba11fd in handler::ha_write_row (this=0x7fa4681673c0, buf=0x7fa468167b08 "\377") at /data/src/10.3/sql/handler.cc:6493
fields = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x55e2cd8cdb70 <end_of_list>, last = 0x7fa4c027d590, elements = 0}, <No data fields>}
all_fields = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x55e2cd8cdb70 <end_of_list>, last = 0x7fa4c027d5b0, elements = 0}, <No data fields>}
alter_info = {drop_list = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x55e2cd8cdb70 <end_of_list>, last = 0x7fa4c027f490, elements = 0}, <No data fields>}, alter_list = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x55e2cd8cdb70 <end_of_list>, last = 0x7fa4c027f4a8, elements = 0}, <No data fields>}, key_list = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x7fa468010868, last = 0x7fa468010878, elements = 2}, <No data fields>}, create_list = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x7fa468010310, last = 0x7fa468010780, elements = 3}, <No data fields>}, check_constraint_list = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x55e2cd8cdb70 <end_of_list>, last = 0x7fa4c027f4f0, elements = 0}, <No data fields>}, flags = 8, partition_flags = 0, keys_onoff = Alter_info::LEAVE_AS_IS, partition_names = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x55e2cd8cdb70 <end_of_list>, last = 0x7fa4c027f520, elements = 0}, <No data fields>}, num_parts = 0, requested_algorithm = Alter_info::ALTER_TABLE_ALGORITHM_COPY, requested_lock = Alter_info::ALTER_TABLE_LOCK_DEFAULT}
priv = 1073741823
priv_needed = 8192
result = <optimized out>
#20 0x000055e2cc9a023c in mysql_execute_command (thd=<optimized out>) at /data/src/10.3/sql/sql_parse.cc:6075
An even simpler test case for the debug assertion, with a slightly different stack trace:
--source include/have_innodb.inc
CREATETABLE t (a INT, s TIMESTAMP(6) GENERATED ALWAYS AS ROW START, e TIMESTAMP(6) GENERATED ALWAYS AS ROW END, PERIOD FOR SYSTEM_TIME (s,e), UNIQUE(e)) ENGINE=InnoDB WITH SYSTEM VERSIONING;
#7 0x00007f4ae9858662 in __GI___assert_fail (assertion=0x56059fbc8c40 "!strcmp(index->name, \"FTS_DOC_ID_INDEX\")", file=0x56059fbc4c60 "/home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/storage/innobase/row/row0ins.cc", line=3658, function=0x56059fbc8b60 "dberr_t row_ins(ins_node_t*, que_thr_t*)") at assert.c:101
#8 0x000056059eabd0c1 in row_ins (node=0x620000011678, thr=0x620000011900) at /home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/storage/innobase/row/row0ins.cc:3658
#9 0x000056059eabe191 in row_ins_step (thr=0x620000011900) at /home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/storage/innobase/row/row0ins.cc:3798
#10 0x000056059eb07149 in row_insert_for_mysql (mysql_rec=0x6190000d7ab8 "\274\001", prebuilt=0x620000011108, ins_mode=ROW_INS_NORMAL) at /home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/storage/innobase/row/row0mysql.cc:1419
#11 0x000056059e7ef95b in ha_innobase::write_row (this=0x61c0000618a8, record=0x6190000d7ab8 "\274\001") at /home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/storage/innobase/handler/ha_innodb.cc:8196
#12 0x000056059e2ffc02 in handler::ha_write_row (this=0x61c0000618a8, buf=0x6190000d7ab8 "\274\001") at /home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/sql/handler.cc:6495
#13 0x000056059db5d511 in vers_insert_history_row (table=0x61f000042888) at /home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/sql/sql_insert.cc:1680
#14 0x000056059db5fa3a in write_record (thd=0x62a0000ba208, table=0x61f000042888, info=0x7f4ad3032e50) at /home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/sql/sql_insert.cc:1983
#15 0x000056059db59598 in mysql_insert (thd=0x62a0000ba208, table_list=0x62b000000338, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_REPLACE, ignore=false) at /home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/sql/sql_insert.cc:1077
#16 0x000056059dbf5657 in mysql_execute_command (thd=0x62a0000ba208) at /home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/sql/sql_parse.cc:4505
#17 0x000056059dc0c082 in mysql_parse (thd=0x62a0000ba208, rawbuf=0x62b000000228 "REPLACE INTO t (a) VALUES (2)", length=29, parser_state=0x7f4ad30349e0, is_com_multi=false, is_next_command=false) at /home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/sql/sql_parse.cc:7855
#18 0x000056059dbe52fc in dispatch_command (command=COM_QUERY, thd=0x62a0000ba208, packet=0x629000136209 "REPLACE INTO t (a) VALUES (2)", packet_length=29, is_com_multi=false, is_next_command=false) at /home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/sql/sql_parse.cc:1852
#19 0x000056059dbe2541 in do_command (thd=0x62a0000ba208) at /home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/sql/sql_parse.cc:1398
#20 0x000056059df57f9b in do_handle_one_connection (connect=0x608000000ea8) at /home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/sql/sql_connect.cc:1403
#21 0x000056059df57897 in handle_one_connection (arg=0x608000000ea8) at /home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/sql/sql_connect.cc:1308
#22 0x000056059f40ecf7 in pfs_spawn_thread (arg=0x615000007608) at /home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/storage/perfschema/pfs.cc:1869
#23 0x00007f4ae9a03ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#24 0x00007f4ae9923aef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Elena Stepanova
added a comment - An even simpler test case for the debug assertion, with a slightly different stack trace:
--source include/have_innodb.inc
CREATE TABLE t (a INT , s TIMESTAMP (6) GENERATED ALWAYS AS ROW START, e TIMESTAMP (6) GENERATED ALWAYS AS ROW END , PERIOD FOR SYSTEM_TIME (s,e), UNIQUE (e)) ENGINE=InnoDB WITH SYSTEM VERSIONING;
INSERT INTO t (a) VALUES (1);
REPLACE INTO t (a) VALUES (2);
10.3 4b92fedc
mysqld: /home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/storage/innobase/row/row0ins.cc:3658: dberr_t row_ins(ins_node_t*, que_thr_t*): Assertion `!strcmp(index->name, "FTS_DOC_ID_INDEX")' failed.
221018 2:43:17 [ERROR] mysqld got signal 6 ;
#7 0x00007f4ae9858662 in __GI___assert_fail (assertion=0x56059fbc8c40 "!strcmp(index->name, \"FTS_DOC_ID_INDEX\")", file=0x56059fbc4c60 "/home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/storage/innobase/row/row0ins.cc", line=3658, function=0x56059fbc8b60 "dberr_t row_ins(ins_node_t*, que_thr_t*)") at assert.c:101
#8 0x000056059eabd0c1 in row_ins (node=0x620000011678, thr=0x620000011900) at /home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/storage/innobase/row/row0ins.cc:3658
#9 0x000056059eabe191 in row_ins_step (thr=0x620000011900) at /home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/storage/innobase/row/row0ins.cc:3798
#10 0x000056059eb07149 in row_insert_for_mysql (mysql_rec=0x6190000d7ab8 "\274\001", prebuilt=0x620000011108, ins_mode=ROW_INS_NORMAL) at /home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/storage/innobase/row/row0mysql.cc:1419
#11 0x000056059e7ef95b in ha_innobase::write_row (this=0x61c0000618a8, record=0x6190000d7ab8 "\274\001") at /home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/storage/innobase/handler/ha_innodb.cc:8196
#12 0x000056059e2ffc02 in handler::ha_write_row (this=0x61c0000618a8, buf=0x6190000d7ab8 "\274\001") at /home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/sql/handler.cc:6495
#13 0x000056059db5d511 in vers_insert_history_row (table=0x61f000042888) at /home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/sql/sql_insert.cc:1680
#14 0x000056059db5fa3a in write_record (thd=0x62a0000ba208, table=0x61f000042888, info=0x7f4ad3032e50) at /home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/sql/sql_insert.cc:1983
#15 0x000056059db59598 in mysql_insert (thd=0x62a0000ba208, table_list=0x62b000000338, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_REPLACE, ignore=false) at /home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/sql/sql_insert.cc:1077
#16 0x000056059dbf5657 in mysql_execute_command (thd=0x62a0000ba208) at /home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/sql/sql_parse.cc:4505
#17 0x000056059dc0c082 in mysql_parse (thd=0x62a0000ba208, rawbuf=0x62b000000228 "REPLACE INTO t (a) VALUES (2)", length=29, parser_state=0x7f4ad30349e0, is_com_multi=false, is_next_command=false) at /home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/sql/sql_parse.cc:7855
#18 0x000056059dbe52fc in dispatch_command (command=COM_QUERY, thd=0x62a0000ba208, packet=0x629000136209 "REPLACE INTO t (a) VALUES (2)", packet_length=29, is_com_multi=false, is_next_command=false) at /home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/sql/sql_parse.cc:1852
#19 0x000056059dbe2541 in do_command (thd=0x62a0000ba208) at /home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/sql/sql_parse.cc:1398
#20 0x000056059df57f9b in do_handle_one_connection (connect=0x608000000ea8) at /home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/sql/sql_connect.cc:1403
#21 0x000056059df57897 in handle_one_connection (arg=0x608000000ea8) at /home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/sql/sql_connect.cc:1308
#22 0x000056059f40ecf7 in pfs_spawn_thread (arg=0x615000007608) at /home/jenkins/workspace/sandbox-elenst/Nightly-Build-CS/src/storage/perfschema/pfs.cc:1869
#23 0x00007f4ae9a03ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#24 0x00007f4ae9923aef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
People
Aleksey Midenkov
Elena Stepanova
Votes:
0Vote for this issue
Watchers:
2Start 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.
Here is a variation which also affects non-debug build. Same test as in the description, only instead of being a primary key, id is a nullable unique column, and NULLs are inserted.
--source include/have_innodb.inc
# Cleanup
10.3 non-debug 92a32809
2022-07-17 14:28:17 0x7fa4c0282700 InnoDB: Assertion failure in file /data/src/10.3/storage/innobase/row/row0ins.cc line 221
InnoDB: Failing assertion: !cursor->index->is_committed()
#6 0x000055e2cc89e096 in ut_dbg_assertion_failed (expr=expr@entry=0x55e2cd2d5400 "!cursor->index->is_committed()", file=file@entry=0x55e2cd2d52b0 "/data/src/10.3/storage/innobase/row/row0ins.cc", line=line@entry=221) at /data/src/10.3/storage/innobase/ut/ut0dbg.cc:60
No locals.
#7 0x000055e2cc8884f6 in row_ins_sec_index_entry_by_modify (mtr=0x7fa4c027cb60, thr=0x7fa4681183a0, entry=<optimized out>, heap=0x7fa468114440, offsets_heap=<optimized out>, offsets=0x7fa4c027be70, cursor=0x7fa4c027bee0, mode=2, flags=3) at /data/src/10.3/storage/innobase/row/row0ins.cc:221
dummy_big_rec = 0x0
update = 0x7fa4681144a8
rec = 0x7fa4bbcfc07e ""
err = <optimized out>
dummy_big_rec = <optimized out>
update = <optimized out>
rec = <optimized out>
err = <optimized out>
#8 row_ins_sec_index_entry_low (flags=<optimized out>, mode=<optimized out>, index=0x7fa468116168, offsets_heap=<optimized out>, heap=<optimized out>, entry=<optimized out>, trx_id=<optimized out>, thr=<optimized out>) at /data/src/10.3/storage/innobase/row/row0ins.cc:3098
cursor = {index = 0x7fa468116168, page_cur = {index = 0x7fa4c027c4e0, rec = 0x7fa4bbcfc07e "", offsets = 0x55e2cd104330 <my_timer_cycles>, block = 0x7fa4bb7eeca8}, purge_node = 0x100000000, left_block = 0x2, thr = 0x7fa4681183a0, flag = BTR_CUR_BINARY, tree_height = 1, up_match = 0, up_bytes = 0, low_match = 2, low_bytes = 0, n_fields = 4, n_bytes = 0, fold = 4, path_arr = 0x7c0000006e, rtr_info = 0x0}
search_mode = <optimized out>
err = <optimized out>
n_unique = <optimized out>
mtr = {m_memo = {m_heap = 0x0, m_list = {<ilist<mtr_buf_t::block_t, void>> = {sentinel_ = {next = 0x7fa4c027cb88, prev = 0x7fa4c027cb88}}, size_ = 1}, m_size = 48, m_first_block = {<ilist_node<void>> = {next = 0x7fa4c027cb68, prev = 0x7fa4c027cb68}, m_data = "\000\000\000\000\000\000\000\000 ", '\000' <repeats 15 times>, "\001\000\000\000\000\000\000\000\250\354~\273\244\177\000\000\002\000\000\000\000\000\000\000\000\322\n\254:o\326\310\270o\026h\244\177\000\000\020\020\000\000\000\000\000\000\330\003\000\000\000\000\000\000\350z\026h\244\177\000\000\340\003\000\000\000\000\000\000B\234\215\314\342U\000\000\060\314'\300\244\177\000\000\374\302\016\315\342U\000\000\260\001\000\000\000\000\000\000x\330'\300\244\177\000\000\270o\026h\244\177\000\000\330\003\000\000\000\000\000\000`\314'\300\244\177\000\000\366K\016\315\342U\000\000`\333'\300\244\177\000\000B\234\215\314\342U\000\000\004\000\000\000\000\000\000\000\000\322\n\254:o\326\310"..., m_used = 48}}, m_log = {m_heap = 0x0, m_list = {<ilist<mtr_buf_t::block_t, void>> = {sentinel_ = {next = 0x7fa4c027cdb8, prev = 0x7fa4c027cdb8}}, size_ = 1}, m_size = 0, m_first_block = {<ilist_node<void>> = {next = 0x7fa4c027cd98, prev = 0x7fa4c027cd98}, m_data = "\200\000\000h\244\177\000\000E\000\000\000\000\000\000\000\a", '\000' <repeats 15 times>, "h\004\000\000\000\000\000\000A\000\000\000\244\177\000\000U\000\000\000\000\000\000\000\220\004\000\000\000\000\000\000\021\000\000\000\000\000\000\000G\000\000\000A\000\000\000n\000\000\000|", '\000' <repeats 11 times>, "]\000\000\000w\000\000\000\002", '\000' <repeats 23 times>, "E\000\000\000\000\000\000\000h\004\000\000\000\000\000\000 \000\000h\244\177\000\000\000\000\000\000\000\000\000\000ha\021h\244\177\000\000\000\000\000\000\000\000\000\000\231\342\215\306\244\177\000\000\000\000\000\000\000\000\000\000@\320'\300\244\177\000\000"..., m_used = 0}}, m_made_dirty = false, m_inside_ibuf = false, m_modifications = false, m_n_log_recs = 0, m_log_mode = MTR_LOG_ALL, m_user_space = 0x7fa468163e50, m_state = MTR_STATE_ACTIVE, m_flush_observer = 0x0, m_commit_lsn = 0}
offsets_ = {300, 2, 32774, 32768, 7, 49201, 32676, 0, 49520, 49191, 32676, 0, 31814, 52441, 21986, 0, 8, 0, 0, 0, 57528, 49234, 32676, 0, 57528, 49234, 32676, 0, 23048, 52625, 21986, 0, 52736, 52523, 21986, 0, 4608, 0, 0, 0, 0, 0, 0, 0, 54662, 52493, 21986, 0, 50016, 49191, 32676, 0, 255, 0, 0, 0, 58520, 47998, 32676, 0, 58824, 47998, 32676, 0, 49584, 49191, 32676, 0, 32915, 52458, 21986, 0, 12078, 25972, 29811, 47, 10296, 50359, 32676, 0, 7, 0, 32676, 0, 1, 0, 0, 0, 52880, 49191, 32676, 0, 11688, 52486, 24055, 2814, 1, 0, 0, 0, 26880, 52526, 21986, 0, 1279, 518, 64001, 65520, 57528, 49234, 1, 0, 49792, 49191, 32676, 0, 21328, 26645, 32676, 0, 0, 0, 0, 0, 49728, 49191, 32676, 0, 23184, 53289, 21986, 0, 59224, 26630, 32676, 0, 54464, 49191, 32676, 0, 53352, 26630, 32676, 0, 1, 0, 0, 0, 255, 0, 0, 0, 58520, 47998, 32676, 0, 58520, 47998, 32676, 0, 49760, 49191, 32676, 0, 16812, 52456, 21986, 0, 49680, 49191, 32676, 0, 52880, 49191, 32676, 0, 49776, 49191, 32676, 0, 17120, 26646, 32676, 0, 23184, 53289, 21986, 0, 26880, 52526, 21986, 0, 17304, 26646, 32676, 0, 7552, 53260, 21986, 0...}
offsets = 0x7fa4c027c070
rtr_info = {path = 0x7fa4c027c7f0, parent_path = 0x7fa4c027c340, matches = 0x7fa4c027c8bf, rtr_path_mutex = {m_impl = {m_lock_word = 0, m_event = 0x0, m_policy = {m_count = {m_spins = 0, m_waits = 0, m_calls = 0, m_enabled = false}, m_id = LATCH_ID_NONE}}, m_ptr = 0x0}, tree_blocks = {0x9, 0x7fa4c027c6c0, 0x55e2cd0dd586 <system_filename+22>, 0x7fa4c027c6c0, 0x7fa4c027c6c9, 0x7fa4c027c5a0, 0x55e2cd0ddb53 <unpack_filename+131>, 0x7fa4c027c6c0, 0x9, 0x232f747365742f2e, 0x633631612d6c7173, 0x6d72662e395f64, 0x7fa4c027c6c0, 0x10, 0x7fa4c5c22bc0, 0x7fa4c4b72700, 0x394a5ae18e51f0, 0x55e2cd104330 <my_timer_cycles>, 0x7fa4c4b728d8, 0x80c027c3f0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0, 0x0, 0xc8d66f3a00000002, 0xffffffff, 0x55e2cd0637f2 <start_rwlock_wait_v1(PSI_rwlock_locker_state*, PSI_rwlock*, PSI_rwlock_operation, char const*, uint)+450>, 0x7fa4c027c450, 0x7fa4c6a141a0 <_IO_strn_jumps>, 0x0, 0x55e2cd062ac8 <end_rwlock_wrwait_v1(PSI_rwlock_locker*, int)+280>, 0x1, 0x7fa4681162e8, 0x7fa468116168, 0x7fa4c027c480, 0x7fa4c027c720, 0x55e2ccd4195d <innobase_parse_hint_from_comment(THD*, dict_table_t*, TABLE_SHARE const*)+925>, 0x7fa46806e480, 0x7fa4c027c480, 0x32, 0xc8d66f3aac0ad200, 0x55e200000007, 0x7fa4681673c0, 0x7fa4c027d8e0, 0x7fa4c027c6c0, 0x4000, 0x2, 0x7fa468113708, 0x7fa4c695fd31 <___snprintf_chk+161>, 0x3000000030, 0x7fa4c027c5b0, 0x7fa4c027c4e0, 0xc8d66f3aac0ad200, 0x7fa4c027c720, 0x55e2ccdb31b2 <os_file_get_status(char const*, os_file_stat_t*, bool, bool)+50>, 0x19, 0x55e2cd062da8 <end_mutex_wait_v1(PSI_mutex_locker*, int)+264>, 0x1, 0x1000081b0, 0x3e8, 0x7fa4c052d070, 0x7fa4c027c580, 0x1e, 0x5dc, 0x0, 0x7fa4c027c5e0, 0x55e2ccd8774a <PolicyMutex<TTASEventMutex<GenericPolicy> >::enter(unsigned int, unsigned int, char const*, unsigned int)+170>, 0x1f2e9e29, 0x55e2cd062da8 <end_mutex_wait_v1(PSI_mutex_locker*, int)+264>, 0x1f2e9e29, 0x400000000, 0x0, 0x7fa4681673c0, 0x7, 0x7fa4c5d05640, 0x7fa4c4b72700, 0x394a5ae18e7614, 0x55e2cd104330 <my_timer_cycles>, 0x55e2cd062da8 <end_mutex_wait_v1(PSI_mutex_locker*, int)+264>, 0x7fa4c027c610, 0x1a1c0f6ca, 0x7fa4c052d130, 0x7fa4c052d070, 0x7fa4c027c630, 0x1e, 0x797, 0x7fa4c027cec8, 0x7fa4c027ce98, 0x7fa4c027ceb8, 0x7fa4c027c700, 0x55e2ccdae73e <mtr_t::commit()+142>, 0x5, 0x7fa46806d5c0, 0x7fa4c027c680, 0x55e2cce1692e <row_sel_store_mysql_field(byte*, row_prebuilt_t*, rec_t const*, dict_index_t const*, rec_offs const*, ulint, mysql_row_templ_t const*)+158>, 0x7fa400000007, 0x7fa4c5d05640, 0x7, 0x55e2ccdda208 <rec_copy_prefix_to_buf(unsigned char const*, dict_index_t const*, unsigned long, unsigned char**, unsigned long*)+792>}, tree_savepoints = {140345575198360, 2, 140344097653016, 140345502220447, 140345502220446, 0, 140344097653696, 140344097653704, 140344096642496, 140344097653472, 140345502220453, 140345497019544, 140344096641128, 140344097653016, 140345575196416, 94432588809115, 140345502220453, 0, 140345502220453, 1, 140345578016872, 140344097653016, 140345575199584, 94432588303361, 0, 140345578021048, 140345575196624, 94429150969860, 140345497019544, 94432587779073, 140345575196656, 0, 140345497019544, 1, 140345575196688, 0, 0, 1, 0, 140345502220453, 140344096641128, 9288681826756609, 140344097655560, 0, 0, 9288675977686360, 140344097653952, 192, 140345575196752, 140344097598808, 140345575198352, 140345578016872, 16777216, 0, 140345575198096, 112, 0, 140345575196752, 0, 6, 0, 0, 0, 0, 1829613118816556, 7459168488456204, 16125827863019553, 94432591364912, 140345651701816, 0, 2535373154205052718, 94432598937552, 140344096197704, 140345575201744, 140345575201744, 94432591869408, 140345575197296, 94432584778352, 0, 0, 94432641247128, 72197939720474746, 140344096221736, 140344096221744, 61, 7, 0, 0, 63, 77, 1040, 15, 270582939711, 532575944814, 0, 511101108316, 1, 0, 0, 61, 992, 14471876750386844160, 140345575201744}, mbr = {xmin = 3.4410684101551139e-319, xmax = 4.861605955077866e-321, ymin = 6.9339197246098483e-310, ymax = 4.9011312067451657e-321}, thr = 0x7fa4c027dbd0, heap = 0x7fa4c027c9e0, cursor = 0x55e2cd0ec2fc <my_malloc+108>, index = 0xd8, need_prdt_lock = 208, need_page_lock = 219, allocated = 39, mbr_adj = 192, fd_del = 164, search_tuple = 0x7fa4c027ca00, search_mode = 3434599016}
check = <optimized out>
#9 0x000055e2ccdee6e7 in row_ins_sec_index_entry (index=0x7fa468116168, entry=0x7fa4681613e0, thr=0x7fa4681183a0, check_foreign=<optimized out>) at /data/src/10.3/storage/innobase/row/row0ins.cc:3292
err = <optimized out>
offsets_heap = 0x7fa468113fd0
heap = 0x7fa468114440
trx_id = <optimized out>
flags = 3
#10 0x000055e2ccdeee1b in row_ins_index_entry (thr=0x7fa4681183a0, entry=<optimized out>, index=<optimized out>) at /data/src/10.3/storage/innobase/row/row0ins.cc:3340
No locals.
#11 row_ins_index_entry_step (thr=0x7fa4681183a0, node=0x7fa468118148) at /data/src/10.3/storage/innobase/row/row0ins.cc:3489
err = DB_SUCCESS
err = <optimized out>
#12 row_ins (thr=<optimized out>, node=<optimized out>) at /data/src/10.3/storage/innobase/row/row0ins.cc:3648
err = <optimized out>
index = <optimized out>
type = <optimized out>
#13 row_ins_step (thr=thr@entry=0x7fa4681183a0) at /data/src/10.3/storage/innobase/row/row0ins.cc:3798
error_handling = <optimized out>
node = <optimized out>
parent = <optimized out>
sel_node = <optimized out>
trx = <optimized out>
err = <optimized out>
#14 0x000055e2cce004ad in row_insert_for_mysql (mysql_rec=<optimized out>, prebuilt=0x7fa468117c08, ins_mode=ROW_INS_NORMAL) at /data/src/10.3/storage/innobase/row/row0mysql.cc:1419
savept = {least_undo_no = 0}
thr = 0x7fa4681183a0
err = DB_SUCCESS
was_lock_wait = <optimized out>
trx = 0x7fa4c052d068
node = 0x7fa468118148
table = 0x7fa468113708
blob_heap = <optimized out>
#15 0x000055e2ccd4c315 in ha_innobase::write_row (this=0x7fa4681673c0, record=0x7fa468167b08 "\377") at /data/src/10.3/storage/innobase/handler/ha_innodb.cc:8184
error = <optimized out>
wsrep_auto_inc_inserted = false
error_result = 0
auto_inc_used = false
trx = 0x7fa4c052d068
vers_set_fields = <optimized out>
#16 0x000055e2ccba11fd in handler::ha_write_row (this=0x7fa4681673c0, buf=0x7fa468167b08 "\377") at /data/src/10.3/sql/handler.cc:6493
this_tracker = 0x0
error = <optimized out>
log_func = 0x55e2ccba37c0 <Write_rows_log_event::binlog_row_logging_function(THD*, TABLE*, bool, unsigned char const*, unsigned char const*)>
#17 0x000055e2cca3786e in copy_data_between_tables (thd=0x7fa468000c48, from=0x7fa468162748, to=0x7fa468116848, create=<optimized out>, ignore=false, order_num=<optimized out>, order=0x0, copied=0x7fa4c027e0a0, deleted=0x7fa4c027e0a8, keys_onoff=Alter_info::LEAVE_AS_IS, alter_ctx=0x7fa4c027e990) at /data/src/10.3/sql/sql_table.cc:10785
err = <optimized out>
error = 0
copy = 0x7fa468011410
copy_end = <optimized out>
found_count = 1
delete_count = 0
file_sort = 0x0
info = {table = 0x7fa468162748, unlock_row = 0x55e2cc9c32c0 <rr_unlock_row(st_join_table*)>, read_record_func = 0x55e2ccccce50 <rr_sequential(READ_RECORD*)>, thd = 0x7fa468000c48, select = 0x0, ref_length = 6, reclength = 0, rec_cache_size = 0, error_offset = 0, ref_pos = 0x0, rec_buf = 0x0, cache = 0x0, cache_pos = 0x0, cache_end = 0x0, read_positions = 0x0, addon_field = 0x0, io_cache = 0x0, print_error = true, unpack = 0x0, copy_field = 0x0, copy_field_end = 0x0}
tables = {next_local = 0x7fa468000c48, next_global = 0xa8, prev_global = 0x7fa468116848, db = {str = 0x7fa468167180 "", length = 140345575201120}, table_name = {str = 0x2 <error: Cannot access memory at address 0x2>, length = 140344097665984}, schema_table_name = {str = 0x2 <error: Cannot access memory at address 0x2>, length = 0}, alias = {str = 0x3 <error: Cannot access memory at address 0x3>, length = 3}, option = 0x7fa468174f90 "\002test", on_expr = 0x200, on_context = 0x7fa4c68dd1cc <_int_malloc+3196>, sj_on_expr = 0x0, sj_inner_tables = 140344096194688, sj_in_exprs = 114, sj_subq_pred = 0xc8d66f3aac0ad200, original_subq_pred_used_tables = 8174916435331736948, jtbm_subselect = 0x5f64633631612d6c, jtbm_table_no = 57, sj_mat_info = 0x7fa4680068b8, prep_on_expr = 0x3e0, cond_equal = 0x7fa468115a98, natural_join = 0x7fa4c027d9f0, is_natural_join = 252, join_using_fields = 0xd8, join_columns = 0x7fa468115a98, is_join_columns_complete = 16, next_name_resolution_table = 0x55e2ccb7d268 <Field_timestamp::Field_timestamp(unsigned char*, unsigned int, unsigned char*, unsigned char, Field::utype, st_mysql_const_lex_string const*, TABLE_SHARE*)+24>, index_hints = 0x7fa4c027dc70, table = 0x55e2cd0e46e3 <alloc_root+179>, table_id = 6, derived_result = 0x6, map = 140345575201424, correspondent_table = 0x55e2ccb820f0 <make_field(TABLE_SHARE*, st_mem_root*, unsigned char*, unsigned int, unsigned char*, unsigned char, unsigned int, Type_handler const*, charset_info_st const*, Field::geometry_type, unsigned int, Field::utype, st_typelib*, st_mysql_const_lex_string const*, unsigned int)+2944>, derived = 0x7fa4c027dc70, with = 0x7fa468115a28, with_internal_reference_map = 1840, next_with_rec_ref = 0x55e2cffbdb88, is_derived_with_recursive_reference = 40, block_handle_derived = 90, schema_table = 0xc8d66f3aac0ad200, schema_select_lex = 0x710, schema_table_reformed = 72, schema_table_param = 0x7fa468115a28, select_lex = 0x7fa468115a98, view = 0x55e2d0096798, field_translation = 0x1, field_translation_end = 0x7fa4c027dae0, field_translation_updated = 169, merge_underlying_list = 0x7fa468115a98, view_tables = 0x55e2cca5cce5 <TABLE_SHARE::init_from_binary_frm_image(THD*, bool, unsigned char const*, unsigned long)+6277>, belong_to_view = 0x68a, belong_to_derived = 0x55e2cd832fc0 <type_handler_timestamp2>, referencing_view = 0x55e2cd875b20 <my_charset_latin1>, view_used_tables = 94432591236086, map_exec = 140344096221904, tablenr_exec = 1744833608, maybe_null_exec = 32676, parent_l = 0x7fa468115a28, security_ctx = 0x7fa468163340, view_sctx = 0x7fa4c027dd70, allowed_show = 244, where = 0x55e2cd853100 <my_charset_bin>, check_option = 0x10000000, select_stmt = {str = 0x7fa400000000 <error: Cannot access memory at address 0x7fa400000000>, length = 0}, md5 = {str = 0x7fa468163cd0 "I=\026h\244\177", length = 140344097651855}, source = {str = 0xd00010100 <error: Cannot access memory at address 0xd00010100>, length = 32768}, view_db = {str = 0x7fa40000001a <error: Cannot access memory at address 0x7fa40000001a>, length = 140342351364096}, view_name = {str = 0x7fa468163cc8 "", length = 0}, timestamp = {str = 0x7fa400000003 <error: Cannot access memory at address 0x7fa400000003>, length = 94432640359304}, definer = {<AUTHID> = {user = {str = 0x7fa468163c08 "X=\026h\244\177", length = 264484092609758}, host = {str = 0x0, length = 140342351364096}}, plugin = {str = 0x7fa468163c90 "\377", length = 140344096197704}, auth = {str = 0x10 <error: Cannot access memory at address 0x10>, length = 94429150969858}, pwtext = {str = 0x2 <error: Cannot access memory at address 0x2>, length = 8589934594}, pwhash = {str = 0x7fa468163340 "\320 \200\315\342U", length = 0}}, file_version = 140344097651352, mariadb_version = 140342351364098, updatable_view = 140342351364098, algorithm = 140342351364096, view_suid = 140344097331864, with_check = 140342351364098, effective_with_check = 240 '\360', derived_type = 95 '_', grant = {grant_table_user = 0x7fa468163c90, grant_table_role = 0x0, version = 1, privilege = 94432591916785, want_privilege = 4, orig_want_privilege = 0, m_internal = {m_schema_lookup_done = 72, m_schema_access = 0x7fa468163d58, m_table_lookup_done = 8, m_table_access = 0x7fa468163d2c}}, engine_data = 140344097652056, callback_func = 0x7fa468163c48, lock_type = TL_WRITE_CONCURRENT_INSERT, mdl_type = MDL_INTENTION_EXCLUSIVE, table_options = 94432593105079, outer_join = 0, shared = 0, updatable = 78, straight = 61, updating = 22, force_index = 104, ignore_leaves = 164, crashed = 127, dep_tables = 1, on_expr_dep_tables = 140342351364103, nested_join = 0x1, embedding = 0x1, join_list = 0x55e2cc8d9c42 <my_malloc_size_cb_func(long long, my_bool)+50>, lifted = 66, cacheable_table = false, table_in_first_from_clause = false, open_type = OT_TEMPORARY_OR_BASE, contain_auto_increment = 86, compact_view_format = false, where_processed = false, check_option_processed = false, required_type = TABLE_TYPE_UNKNOWN, db_type = 0x4a0, timestamp_buffer = "\314\321\215\306\244\177\000\000\000\000\000\000\000\000\000\000\200\000\000h", prelocking_placeholder = (unknown: 0x7fa4), open_strategy = (TABLE_LIST::OPEN_STUB | unknown: 0x70), is_alias = false, is_fqtn = false, fill_me = false, merged = false, merged_for_insert = 7, sequence = false, used_items = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x55e2cd8cdb70 <end_of_list>, last = 0x7fa4c027dce0, elements = 0}, <No data fields>}, persistent_used_items = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x55e2cd8cdb70 <end_of_list>, last = 0x7fa4c027dcf8, elements = 0}, <No data fields>}, view_creation_ctx = 0x4d00000074, view_client_cs_name = {str = 0x7c0000006e <error: Cannot access memory at address 0x7c0000006e>, length = 0}, view_connection_cl_name = {str = 0x55e2cc8d9c42 <my_malloc_size_cb_func(long long, my_bool)+50> "H\211\303E\204\355\017\204\252\001", length = 3}, view_body_utf8 = {str = 0x0, length = 140345575202160}, trg_event_map = 104 'h', slave_fk_event_map = 208 '\320', optimized_away = 82, materialized = 192, i_s_requested_object = 32676, prohibit_cond_pushdown = 72, table_open_method = 32676, schema_table_state = (PROCESSED_BY_CREATE_SORT_INDEX | unknown: 0x4), is_table_read_plan = 0x7fa4681673c0, mdl_request = {type = 1745968752, duration = 32676, next_in_list = 0x7fa4c027ddd0, prev_in_list = 0x55e2ccd4fae0 <ha_innobase::extra(ha_extra_function)+144>, ticket = 0x730, key = {m_length = 26696, m_db_name_length = 26641, m_hash_value = 32676, m_ptr = "\300\335'\300\244\177\000\000\000\322\n\254:o\326\310\020\a\000\000\000\000\000\000\300s\026h\244\177\000\000\300s\026h\244\177\000\000\322\a\323\314\342U\000\000\060s\021h\244\177\000\000\022\020\000\000\000\000\000\000 \336'\300\244\177\000\000\247\236\271\314\342U\000\000\260\001\000\000\000\000\000\000\060s\021h\000\000\000\000\350z\026h\244\177\000\000(Z\021h\244\177\000\000\060s\021h\244\177\000\000\022\020\000\000\000\000\000\000(Z\021h\244\177\000\000\060s\021h\244\177\000\000\022\020", '\000' <repeats 14 times>, "\020\337'\300\244\177\000\000\266R\246\314\342U\000\000\060s\021h\244\177\000\000 q\026h\244\177\000\000xp\026h\244\177\000\000"...}}, partition_names = 0x55e2ccb21067 <THD::open_temporary_table(TMP_TABLE_SHARE*, char const*, bool)+135>, vers_conditions = {type = 1716886007, orig_type = 32767, used = false, delete_history = false, start = {<vers_history_point_t> = {unit = VERS_UNDEFINED, item = 0x0}, <No data fields>}, end = {<vers_history_point_t> = {unit = VERS_UNDEFINED, item = 0x0}, <No data fields>}}, for_insert_data = 1 '\001', m_table_ref_type = TABLE_REF_NULL, m_table_ref_version = 140345575202688}
fields = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x55e2cd8cdb70 <end_of_list>, last = 0x7fa4c027d590, elements = 0}, <No data fields>}
all_fields = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x55e2cd8cdb70 <end_of_list>, last = 0x7fa4c027d5b0, elements = 0}, <No data fields>}
auto_increment_field_copied = <optimized out>
cleanup_done = false
init_read_record_done = true
save_sql_mode = 1411383296
prev_insert_id = 0
time_to_report_progress = 1000
dfield_ptr = <optimized out>
save_to_s_default_fields = 0
make_versioned = <optimized out>
make_unversioned = <optimized out>
keep_versioned = true
to_row_start = 0x0
to_row_end = 0x0
from_row_end = 0x0
query_start = {year = 0, month = 0, day = 0, hour = 0, minute = 0, second = 0, second_part = 140345682546810, neg = 0 '\000', time_type = MYSQL_TIMESTAMP_DATE}
it = {<base_list_iterator> = {list = <optimized out>, el = <optimized out>, prev = <optimized out>, current = <optimized out>}, <No data fields>}
def = <optimized out>
#18 0x000055e2cca3e419 in mysql_alter_table (thd=thd@entry=0x7fa468000c48, new_db=new_db@entry=0x7fa468005168, new_name=new_name@entry=0x7fa468005550, create_info=create_info@entry=0x7fa4c027f550, table_list=<optimized out>, table_list@entry=0x7fa46800f830, alter_info=alter_info@entry=0x7fa4c027f490, order_num=0, order=0x0, ignore=false) at /data/src/10.3/sql/sql_table.cc:10214
err_new_table_cleanup = <optimized out>
do_continue = <optimized out>
table_kind = <optimized out>
alter_prelocking_strategy = {<Prelocking_strategy> = {_vptr.Prelocking_strategy = 0x55e2cd723458 <vtable for Alter_table_prelocking_strategy+16>}, <No data fields>}
tables_opened = 1
error = false
table = <optimized out>
versioned = <optimized out>
mdl_ticket = 0x7fa4681779f0
alter_ctx = {datetime_field = 0x0, error_if_not_empty = false, tables_opened = 1, db = {str = 0x7fa46800fe90 "test", length = 4}, table_name = {str = 0x7fa46800f7f8 "t", length = 1}, alias = {str = 0x7fa46800f7f8 "t", length = 1}, new_db = {str = 0x7fa46800fe90 "test", length = 4}, new_name = {str = 0x7fa46800f7f8 "t", length = 1}, new_alias = {str = 0x7fa46800f7f8 "t", length = 1}, tmp_name = {str = 0x7fa4c027ed3b "#sql-a16cd_9", length = 12}, tmp_buff = "p\352'\300\244\177\000\000n&\331\314\000\000\000\000\000\000\001h\001\000\000\000{\257\215\306\244\177\000\000 \246\002h\244\177\000\000\002\000\000\000\244\177\000\000\000\000\000\000\000\000\000\000\336\b\031\000\000\000\000\000\b\356'\300\244\177\000\000\000\322\n\254:o\326\310", fk_error_if_delete_row = false, fk_error_id = 0x0, fk_error_table = 0x0, modified_primary_key = false, new_filename = "./test/t.frm\000\000\000{\257\215\306\244\177\000\000\000\000\000\000\000\000\000\000\220\067\026h\244\177\000\000\000\000\000\000\000\000\000\000P\347\336\314\000\000\000\000\221\200\316\273\244\177\000\000\360\345~\273\244\177\000\000\330\033\026h\244\177\000\000\000\322\n\254:o\326\310\000\353'\300\244\177\000\000\000\000\000\000\000\000\000\000\320\362'\300\244\177\000\000\333\311\242\306\244\177\000\000\000\004\000\000\000\000\000\000\000\360A\300\244\177\000\000\000\004\000\000\000\000\000\000\000\354\030\000\000\000\000\000\020L\025h\244\177\000\000\362)\333\314\342U\000\000\221\200\316\273\244\177\000\000\310\355'\300\244\177\000\000\350N\026h\244\177\000\000\000\354\030\000\000\000\000\000\244"..., new_alias_buff = "\221\315\342U\000\000\000\316+\315\342U\000\000\001\000\000\000\000\000\000\000@\355'\300\244\177\000\000t\243\330\314\342U\000\000\240\320R\300\244\177\000\000\000\322\n\254:o\326\310@\355'\300\244\177\000\000\000\000\000\000\000\000\000\000@\355'\300\244\177\000\000\300\356'\300\244\177\000\000X\340R\300\244\177\000\000Q\362\323b\000\000\000\000\036\000\000\000\000\000\000\000\250-\006\315\342U\000\000\250\215)\320\342U\000\000\250-\006\315\001", '\000' <repeats 11 times>, "\036\000\000\000\000\000\000\000p\355'\300\244\177\000\000\375\003", '\000' <repeats 22 times>, "\320\355'\300\244\177\000\000\000\322\n", tmp_name_buff = "#sql-a16cd_9\000\340\352\220\315\342U\000\000@\323(\320\342U\000\000@\360'\300\244\177\000\000\000\004\000\000\000\000\000\000@\026V\305\244\177\000\000\200\357'\300\244\177\000\000\231+\333\314\342U\000\000\000'\267\304\244\177\000\000\000\004\000\000\000\000\000\000\000\354\030\000\000\000\000\000\340\323(\320\342U", '\000' <repeats 11 times>, "\004\000\000\000\000\000\000\000\004\000\000\000\000\000\000\360\377\377\377", '\000' <repeats 13 times>, "\364A\300\244\177\000\000\260\357'\300\244\177\000\000#y\360\314\342U\000\000\036\000\000\000\000\000\000\000\036", '\000' <repeats 15 times>, "\373l\333\314", path = "./test/t\000U\000\000\001\000\000\000\000\000\000\000\260\356'\300\244\177\000\000U\373\342\314\342U\000\000\a\000\000\000\000\000\000\000\300l\320\305\244\177\000\000\000'\267\304\244\177\000\000\354\367p\341ZJ9\000\060C\020\315\342U\000\000\070(\267\304\244\177\000\000\a\000\000\000\000\000\000\000@^\320\305\244\177\000\000\000'\267\304\244\177\000\000\320\376p\341ZJ9\000\060C\020\315\342U\000\000\070(\267\304\244\177\000\000\b\357'\300\244\177\000\000h\320R\300\244\177\000\000h\320R\300\244\177\000\000\300\356'\300\244\177\000\000\000\000\000\000\000\000\000\000H\f\000h\244\177\000\000\200\363'\300\244\177\000\000\035\070\346\314\342U\000\000\000\000\000\000\000\000\000\000"..., new_path = "./test/t\000\000\000\360\377\377\377c\000\000\000\360\361'\300\244\177\000\000 \361'\300\244\177\000\000\000\000\000\000\000\000\000\000@\323(\320\342U\000\000\022\000\002h\244\177\000\000X\360'\300\244\177\000\000\a\000\000\000\a\000\000\000@\026V\305\244\177\000\000\000\000\000\000\000\000\000\000\200F\353\317\342U\000\000\000'\267\304\244\177\000\000\213\005\004\001\000\221\001\200@jq\341ZJ9\000\060C\020\315\342U\000\000\070(\267\304\244\177\000\000%\000\245\000\001\005\ab\323\362Q\b\004\222", '\000' <repeats 12 times>, "'\300\200", '\000' <repeats 19 times>, "\250-\006\315\342U\000\000\377\377\377\377\002"..., tmp_path = "./test/#sql-a16cd_9\000\000\000\000\000\000\000@a\320\305\244\177\000\000\000'\267\304\244\177\000\000\250-\006\315\342U\000\000\060C\020\315\342U\000\000\070(\267\304\001\000\000\000\000\004", '\000' <repeats 14 times>, "\260\362'\300\244\177\000\000\004\000\000\000\000\000\000\000\036", '\000' <repeats 15 times>, "\020\363'\300\244\177\000\000at\331\314\342U\000\000\000\000\000\000\000\000\000\000\"r\331\314\342U\000\000\000\001\000\000\000\000\000\000\300\362'\300\244\177\000\000\000\006\031\000\000\000\000\000\000\360A\300\244\177\000\000\a\000\000\000\000\000\000\000@c\320\305\244\177\000\000\000'\267\304\244\177"...}
target_mdl_request = {type = 3223839160, duration = 32676, next_in_list = 0x7fa400000000, prev_in_list = 0x7fa4c027e280, ticket = 0x55e2cce841ac <btr_cur_optimistic_latch_leaves(buf_block_t*, unsigned long, unsigned long*, btr_cur_t*, char const*, unsigned int, mtr_t*)+76>, key = {m_length = 57904, m_db_name_length = 49191, m_hash_value = 32676, m_ptr = "\260\356'\300\244\177\000\000\220\342'\300\244\177\000\000\340B\026h\244\177\000\000\220Z)\320\342U\000\000\000i.\315\342U\000\000\230C\026h\244\177\000\000\220\232\002h\244\177\000\000Gj\304b\000\000\000\000\340\071\035\320\342U\000\000\a\000\000\000\244\177\000\000\000\203\301\305\244\177\000\000\000'\267\304\244\177\000\000PXp\341ZJ9\000\060C\020\315\342U\000\000h\320\006h\244\177\000\000\340B\026h\244\177\000\000\260\356'\300\244\177\000\000\060\231-\315\342U\000\000\230\344~\273\244\177\000\000\340\346'\300\244\177\000\000\301N\351\314\342U\000\000\260\356'\300\244\177\000\000\203N\351\314\342U\000\000\001\000\000\000\000\000\000\000\376\232\002h\244\177\000\000"...}}
old_db_type = <optimized out>
new_db_type = 0x55e2d0096798
partition_changed = false
fast_alter_partition = false
new_table = 0x7fa468116848
copied = 0
deleted = 0
index_file = "\300\343'\300\244\177\000\000\300|\223\315\342U\000\000\300\343'\300\244\177", '\000' <repeats 26 times>, "\001\000\000\000\000\000\000\000\377\000\000\000\000\000\000\000\230\344~\273\244\177\000\000\230\344~\273\244\177\000\000p\344'\300\244\177\000\000\300\356'\300\244\177\000\000\320R}\273\244\177\000\000\002\000\000\000\000\000\000\000\060\022\035\320\342U\000\000`S}\273\244\177\000\000\000\000\000\000\244\177", '\000' <repeats 14 times>, "\244\177\000\000\000\000\000\000\000\000\000\000\060\022\035\320\342U\000\000\bR}\273\244\177\000\000\240\344'\300\244\177\000\000\362\067\006\315\342U\000\000\000'\267\304\244\177\000\000"...
data_file = "\250L\026h\244\177\000\000\310\315\006h\244\177\000\000\000\000\000\000\000\000\000\000\300K\026h\244\177\000\000 \000\000\000\000\000\000\000\300\000\000\000\000\000\000\000\320\350'\300\244\177\000\000\310R\342\314\342U\000\000\000'\267\304\244\177\000\000\b\177m\341ZJ9\000\000\000\000\000\000\000\000\000\250-\006\315\342U\000\000\350\345'\300\244\177\000\000\001\000\000\000\001", '\000' <repeats 11 times>, "p\320R\300\244\177\000\000P\346'\300\244\177\000\000\036\000\000\000\000\000\000\000\227\a\000\000\000\000\000\000\350\356'\300\244\177\000\000\270\356'\300\244\177\000\000\330\356'\300\244\177\000\000 \347'\300\244\177\000\000>\347\332\314\342U\000\000\005\000\000\000\000\000\000\000"...
key_info = 0x7fa468010f98
key_count = 2
varchar = false
frm = {str = 0x7fa468161b78 "\376\001\n\f\030", length = 1469}
no_ha_table = false
backup_name_buff = "\000\037\224\315\342U\000\000\070\b*\320\342U\000\000h\320R\300\244\177\000\000\b\000\000\000\000\000\000\000@\355'\300\244\177\000\000\020\032\346\314\342U\000\000\000\000\000\000\000\000\000\000p\350'\300\244\177\000\000h\320\006h\244\177\000\000\001\345~\273\244\177\000\000\bK\026h\244\177\000\000\000\356'\300\244\177\000\000\000\000\000\000\000\000\000\000x\000\ah\244\177\000\000x\000\ah\244\177\000\000\300\356'\300\244\177\000\000p\000\ah\244\177\000\000\000\000\000\000\000\000\000\000\260\356'\300\244\177\000\000h\320R\300\244\177\000\000\a\000\000\000\335\005\000\000\300l\320\305\244\177\000\000\000'\267\304\244\177\000\000\060\250p\341ZJ9\000\060C\020\315\342U\000\000"...
backup_name = {str = 0x7fa46806dda0 "test", length = 4}
#19 0x000055e2cca92b97 in Sql_cmd_alter_table::execute (this=<optimized out>, thd=0x7fa468000c48) at /data/src/10.3/sql/sql_alter.cc:512
lex = 0x7fa468004878
select_lex = 0x7fa4680050d0
first_table = 0x7fa46800f830
used_engine = <optimized out>
create_info = {<Table_scope_and_contents_source_st> = {<Table_scope_and_contents_source_pod_st> = {table_charset = 0x0, tabledef_version = {str = 0x7fa468011168 "\215\336\027:\005\303\021\355\210K,\360]r\367\316 Vt\315\342U", length = 16}, connect_string = {str = 0x7fa468156970 "", length = 0}, comment = {str = 0x7fa468006af8 "", length = 0}, alias = {str = 0x7fa46800f7f8 "t", length = 1}, password = 0x0, tablespace = 0x0, data_file_name = 0x0, index_file_name = 0x0, max_rows = 0, min_rows = 0, auto_increment_value = 0, table_options = 8, avg_row_length = 0, used_fields = 0, key_block_size = 0, expression_length = 0, field_check_constraints = 0, stats_sample_pages = 0, null_bits = 2, options = 40, merge_insert_method = 0, extra_size = 16, db_type = 0x55e2d0096798, row_type = ROW_TYPE_DEFAULT, transactional = HA_CHOICE_UNDEF, storage_media = HA_SM_DEFAULT, page_checksum = HA_CHOICE_UNDEF, option_list = 0x0, stats_auto_recalc = HA_STATS_AUTO_RECALC_DEFAULT, varchar = false, sequence = false, check_constraint_list = 0x7fa4c027f4f0, option_struct = 0x7fa468011148, fields_option_struct = 0x7fa4680101f0, indexes_option_struct = 0x7fa468010208, table = 0x0, pos_in_locked_tables = 0x0, merge_list = 0x0, mdl_ticket = 0x0, table_was_deleted = false, seq_create_info = 0x0}, vers_info = {system_time = {start = {<Lex_cstring> = {<st_mysql_const_lex_string> = {str = 0x7fa468156b24 "s", length = 1}, <No data fields>}, <No data fields>}, end = {<Lex_cstring> = {<st_mysql_const_lex_string> = {str = 0x7fa468156b26 "e", length = 1}, <No data fields>}, <No data fields>}}, as_row = {start = {<Lex_cstring> = {<st_mysql_const_lex_string> = {str = 0x7fa468156b24 "s", length = 1}, <No data fields>}, <No data fields>}, end = {<Lex_cstring> = {<st_mysql_const_lex_string> = {str = 0x7fa468156b26 "e", length = 1}, <No data fields>}, <No data fields>}}, versioned_fields = false, unversioned_fields = false}}, <Schema_specification_st> = {default_table_charset = 0x55e2cd875b20 <my_charset_latin1>}, <No data fields>}
alter_info = {drop_list = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x55e2cd8cdb70 <end_of_list>, last = 0x7fa4c027f490, elements = 0}, <No data fields>}, alter_list = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x55e2cd8cdb70 <end_of_list>, last = 0x7fa4c027f4a8, elements = 0}, <No data fields>}, key_list = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x7fa468010868, last = 0x7fa468010878, elements = 2}, <No data fields>}, create_list = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x7fa468010310, last = 0x7fa468010780, elements = 3}, <No data fields>}, check_constraint_list = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x55e2cd8cdb70 <end_of_list>, last = 0x7fa4c027f4f0, elements = 0}, <No data fields>}, flags = 8, partition_flags = 0, keys_onoff = Alter_info::LEAVE_AS_IS, partition_names = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x55e2cd8cdb70 <end_of_list>, last = 0x7fa4c027f520, elements = 0}, <No data fields>}, num_parts = 0, requested_algorithm = Alter_info::ALTER_TABLE_ALGORITHM_COPY, requested_lock = Alter_info::ALTER_TABLE_LOCK_DEFAULT}
priv = 1073741823
priv_needed = 8192
result = <optimized out>
#20 0x000055e2cc9a023c in mysql_execute_command (thd=<optimized out>) at /data/src/10.3/sql/sql_parse.cc:6075
multi_delete_error = <optimized out>
wsrep_error_label = <optimized out>
error = <optimized out>
res = 0
up_result = 0
lex = 0x7fa468004878
select_lex = 0x7fa4680050d0
first_table = 0x7fa46800f830
all_tables = 0x7fa46800f830
unit = 0x7fa468004938
have_table_map_for_update = <optimized out>
rpl_filter = <optimized out>
orig_binlog_format = BINLOG_FORMAT_MIXED
orig_current_stmt_binlog_format = BINLOG_FORMAT_STMT
#21 0x000055e2cc9a2613 in mysql_parse (thd=0x7fa468000c48, rawbuf=<optimized out>, length=<optimized out>, parser_state=<optimized out>, is_com_multi=<optimized out>, is_next_command=<optimized out>) at /data/src/10.3/sql/sql_parse.cc:7870
found_semicolon = <optimized out>
error = <optimized out>
lex = 0x7fa468004878
err = <optimized out>
#22 0x000055e2cc9a46c5 in dispatch_command (command=COM_QUERY, thd=0x7fa468000c48, packet=<optimized out>, packet_length=<optimized out>, is_com_multi=<optimized out>, is_next_command=<optimized out>) at /data/src/10.3/sql/sql_class.h:200
packet_end = 0x7fa46800f75c ""
parser_state = {m_lip = {lookahead_token = -1, lookahead_yylval = 0x0, m_thd = 0x7fa468000c48, m_ptr = 0x7fa46800f75d "\004", m_tok_start = 0x7fa46800f75d "\004", m_tok_end = 0x7fa46800f75d "\004", m_end_of_query = 0x7fa46800f75c "", m_tok_start_prev = 0x7fa46800f75c "", m_buf = 0x7fa46800f730 "ALTER TABLE t ADD UNIQUE (e), ALGORITHM=COPY", m_buf_length = 44, m_echo = true, m_echo_saved = false, m_cpp_buf = 0x7fa46800f7b8 "ALTER TABLE t ADD UNIQUE (e), ALGORITHM=COPY", m_cpp_ptr = 0x7fa46800f7e4 "", m_cpp_tok_start = 0x7fa46800f7e4 "", m_cpp_tok_start_prev = 0x7fa46800f7e4 "", m_cpp_tok_end = 0x7fa46800f7e4 "", m_body_utf8 = 0x0, m_body_utf8_ptr = 0x0, m_cpp_utf8_processed_ptr = 0x0, next_state = MY_LEX_END, found_semicolon = 0x0, ignore_space = false, stmt_prepare_mode = false, multi_statements = true, yylineno = 1, m_digest = 0x0, in_comment = NO_COMMENT, in_comment_saved = NO_COMMENT, m_cpp_text_start = 0x7fa46800f7e0 "COPY", m_cpp_text_end = 0x7fa46800f7e4 "", m_underscore_cs = 0x0}, m_yacc = {yacc_yyss = 0x0, yacc_yyvs = 0x0, m_set_signal_info = {m_item = {0x0 <repeats 12 times>}}, m_lock_type = TL_READ_DEFAULT, m_mdl_type = MDL_SHARED_READ}, m_digest_psi = 0x7fa468004358}
net = 0x7fa468000ec8
error = false
do_end_of_statement = true
drop_more_results = false
res = <optimized out>
#23 0x000055e2cc9a6a89 in do_command (thd=0x7fa468000c48) at /data/src/10.3/sql/sql_parse.cc:1398
return_value = <optimized out>
packet = 0x7fa468007388 "\003ALTER TABLE t ADD UNIQUE (e), ALGORITHM=COPY"
packet_length = 45
net = 0x7fa468000ec8
command = COM_QUERY
#24 0x000055e2cca90046 in do_handle_one_connection (connect=connect@entry=0x55e2d023f248) at /data/src/10.3/sql/sql_connect.cc:1403
create_user = true
thr_create_utime = <optimized out>
thd = 0x7fa468000c48
#25 0x000055e2cca9021b in handle_one_connection (arg=arg@entry=0x55e2d023f248) at /data/src/10.3/sql/sql_connect.cc:1308
connect = 0x55e2d023f248
#26 0x000055e2cd062122 in pfs_spawn_thread (arg=0x55e2d02b9038) at /data/src/10.3/storage/perfschema/pfs.cc:1869
typed_arg = 0x55e2d02b9038
user_arg = 0x55e2d023f248
user_start_routine = 0x55e2cca901e0 <handle_one_connection(void*)>
pfs = <optimized out>
klass = <optimized out>
#27 0x00007fa4c6a21ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
ret = <optimized out>
pd = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140345575220992, 1050881700286065412, 140734909540494, 140734909540495, 140345575219136, 311296, -1018663410079732988, -1018668856071656700}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 0
#28 0x00007fa4c6951def in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95