Thread 28 "mysqld" hit Breakpoint 2, Item_func_hash::val_int (
|
this=0x7fff8c08e5d0) at /mariadb/10.4/sql/item_func.cc:1737
|
1: arg_count = 2
|
2: *str = {<Charset> = {
|
m_charset = 0x55555735a0e0 <my_charset_latin1>}, <Binary_string> = {<Static_binary_string> = {<Sql_alloc> = {<No data fields>},
|
Ptr = 0x7fff8c0239b8 "2038-01-19 05:14:07.999999", str_length = 26},
|
Alloced_length = 32, extra_alloc = 0, alloced = true,
|
thread_specific = false}, <No data fields>}
|
0x00005555560b0bd3 in Item::save_int_in_field (this=0x7fff8c08e5d0,
|
field=0x7fff8c085110, no_conversions=false)
|
at /mariadb/10.4/sql/item.cc:6493
|
Value returned is $8 = -2999296080560044562
|
(gdb) bt
|
#0 0x00005555560b0bd3 in Item::save_int_in_field (this=0x7fff8c08e5d0,
|
field=0x7fff8c085110, no_conversions=false)
|
at /mariadb/10.4/sql/item.cc:6493
|
#1 0x0000555555f45880 in Type_handler_int_result::Item_save_in_field (
|
this=0x5555573175c8 <type_handler_long>, item=0x7fff8c08e5d0,
|
field=0x7fff8c085110, no_conversions=false)
|
at /mariadb/10.4/sql/sql_type.cc:3587
|
#2 0x00005555560b0c9e in Item::save_in_field (this=0x7fff8c08e5d0,
|
field=0x7fff8c085110, no_conversions=false)
|
at /mariadb/10.4/sql/item.cc:6503
|
#3 0x0000555555e568dc in TABLE::update_virtual_fields (this=0x7fff8c038dd8,
|
h=0x7fff8c08de80, update_mode=VCOL_UPDATE_FOR_WRITE)
|
at /mariadb/10.4/sql/table.cc:8199
|
#4 0x0000555555e05725 in copy_data_between_tables (thd=0x7fff8c000cf8,
|
from=0x7fff8c07fd08, to=0x7fff8c038dd8, create=..., ignore=false,
|
order_num=0, order=0x0, copied=0x7ffff007ffd8, deleted=0x7ffff007ffd0,
|
keys_onoff=Alter_info::LEAVE_AS_IS, alter_ctx=0x7ffff0080da0)
|
at /mariadb/10.4/sql/sql_table.cc:10639
|
#5 0x0000555555dfc6c3 in mysql_alter_table (thd=0x7fff8c000cf8,
|
new_db=0x7fff8c005480, new_name=0x7fff8c005880,
|
create_info=0x7ffff00818e8, table_list=0x7fff8c016388,
|
alter_info=0x7ffff00821b0, order_num=0, order=0x0, ignore=false)
|
at /mariadb/10.4/sql/sql_table.cc:10081
|
#6 0x0000555555eb04e6 in Sql_cmd_alter_table::execute (this=0x7fff8c016a38,
|
thd=0x7fff8c000cf8) at /mariadb/10.4/sql/sql_alter.cc:490
|
#7 0x0000555555cf6528 in mysql_execute_command (thd=0x7fff8c000cf8)
|
at /mariadb/10.4/sql/sql_parse.cc:6343
|
#8 0x0000555555ce5a80 in mysql_parse (thd=0x7fff8c000cf8,
|
rawbuf=0x7fff8c016290 "ALTER TABLE t1 ADD SYSTEM VERSIONING", length=36,
|
parser_state=0x7ffff0084da0, is_com_multi=false, is_next_command=false)
|
at /mariadb/10.4/sql/sql_parse.cc:8154
|
#9 0x0000555555ce2501 in dispatch_command (command=COM_QUERY,
|
thd=0x7fff8c000cf8,
|
(gdb) p *field
|
$9 = {<Value_source> = {<No data fields>},
|
_vptr$Field = 0x555557216b98 <vtable for Field_longlong+16>,
|
ptr = 0x7fff8c09462a "\356!\256\260\216\342\366k", '\245' <repeats 192 times>..., invisible = INVISIBLE_FULL, null_ptr = 0x7fff8c092700 "\374\001",
|
table = 0x7fff8c038dd8, orig_table = 0x7fff8c038dd8,
|
table_name = 0x7fff8c038f00, field_name = {
|
str = 0x7fff8c0817ad "DB_ROW_HASH_1", length = 13}, comment = {
|
str = 0x555556bbcb81 "", length = 0}, option_list = 0x0,
|
option_struct = 0x0, key_start = {map = 0}, part_of_key = {map = 0},
|
part_of_key_not_clustered = {map = 0}, part_of_sortkey = {map = 0},
|
unireg_check = Field::NONE, field_length = 8, flags = 1073758240,
|
field_index = 3, null_bit = 2 '\002', is_created_from_null_item = false,
|
is_stat_field = false, cond_selectivity = 1, next_equal_field = 0x0,
|
read_stats = 0x0, collected_stats = 0x0, vcol_info = 0x7fff8c08e690,
|
check_constraint = 0x0, default_value = 0x0}
|
This is still repeatable after merging into 10.4 the fixes of
MDEV-18879/MDEV-18972andMDEV-18981.Even though the current test case for this bug depends on a different bug, I believe that any InnoDB corruption bug should have a major if not critical priority.