Closed midenok closed 4 years ago
#0 0x0000000000da57e3 in Item_func_in::Item_func_in (this=0x7fb8140156d0) at /home/midenok/src/mariadb/10.4/src/sql/item_cmpfunc.h:2324
#1 0x0000000000da56df in get_item_copy<Item_func_in> (thd=0x7fb814000d28, item=0x7fb81402b228) at /home/midenok/src/mariadb/10.4/src/sql/item.h:2368
#2 0x0000000000da2a1d in Item_func_in::get_copy (this=0x7fb81402b228, thd=0x7fb814000d28) at /home/midenok/src/mariadb/10.4/src/sql/item_cmpfunc.h:2455
#3 0x0000000000b961cd in Virtual_column_info::clone (this=0x7fb81402b418, thd=0x7fb814000d28) at /home/midenok/src/mariadb/10.4/src/sql/field.cc:11399
#4 0x0000000000927ba0 in mysql_prepare_alter_table (thd=0x7fb814000d28, table=0x7fb8140290f8, create_info=0x7fb824dd8488, alter_info=0x7fb824dd83d0, alter_ctx=0x7fb824dd7108) at /home/midenok/src/mariadb/10.4/src/sql/sql_table.cc:8635
#5 0x000000000092b205 in mysql_alter_table (thd=0x7fb814000d28, new_db=0x7fb8140054d8, new_name=0x7fb8140058e0, create_info=0x7fb824dd8488, table_list=0x7fb8140141e8, alter_info=0x7fb824dd83d0, order_num=0, order=0x0, ignore=false) at /home/midenok/src/mariadb/10.4/src/sql/sql_table.cc:9819
#6 0x00000000009e1a26 in Sql_cmd_alter_table::execute (this=0x7fb8140149d8, thd=0x7fb814000d28) at /home/midenok/src/mariadb/10.4/src/sql/sql_alter.cc:502
#7 0x000000000082626b in mysql_execute_command (thd=0x7fb814000d28) at /home/midenok/src/mariadb/10.4/src/sql/sql_parse.cc:6101
#8 0x0000000000816790 in mysql_parse (thd=0x7fb814000d28, rawbuf=0x7fb814014080 "alter table person_principal add column if not exists date_mask tinyint null", length=76, parser_state=0x7fb824ddb5e0, is_com_multi=false, is_next_command=false) at /home/midenok/src/mariadb/10.4/src/sql/sql_parse.cc:7900
No copy constructor for deep copy in Item_func_in
. get_copy()
does shallow copy while build_clone()
does deep copy.
Reproduce
Result
Freed before