Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.2(EOL)
-
None
-
10.2.4-1
Description
set names utf8; |
prepare stmt from "create or replace table t1 (c char(8) default ?)"; |
set @a = ''; |
execute stmt using @a; |
10.2 0c15d1a6ff |
mysqld: /data/src/10.2/sql/item.cc:1201: Item* Item::const_charset_converter(THD*, CHARSET_INFO*, bool, const char*): Assertion `fixed' failed.
|
161025 23:29:12 [ERROR] mysqld got signal 6 ;
|
 |
#7 0x00007f0621199312 in __GI___assert_fail (assertion=0x7f0623d1816d "fixed", file=0x7f0623d0602d "/data/src/10.2/sql/item.cc", line=1201, function=0x7f0623d0a0c0 <Item::const_charset_converter(THD*, charset_info_st const*, bool, char const*)::__PRETTY_FUNCTION__> "Item* Item::const_charset_converter(THD*, CHARSET_INFO*, bool, const char*)") at assert.c:101
|
#8 0x00007f062351b76e in Item::const_charset_converter (this=this@entry=0x7f06181a8e50, thd=thd@entry=0x7f0618016070, tocs=tocs@entry=0x7f0624519a80 <my_charset_latin1>, lossless=lossless@entry=true, func_name=func_name@entry=0x0) at /data/src/10.2/sql/item.cc:1201
|
#9 0x00007f062351bd78 in const_charset_converter (lossless=true, tocs=0x7f0624519a80 <my_charset_latin1>, thd=0x7f0618016070, this=0x7f06181a8e50) at /data/src/10.2/sql/item.h:1818
|
#10 Item_param::safe_charset_converter (this=0x7f06181a8e50, thd=0x7f0618016070, tocs=0x7f0624519a80 <my_charset_latin1>) at /data/src/10.2/sql/item.cc:1260
|
#11 0x00007f06233b0097 in mysql_prepare_create_table (thd=thd@entry=0x7f0618016070, create_info=create_info@entry=0x7f06243143e0, alter_info=alter_info@entry=0x7f0624314330, db_options=db_options@entry=0x7f0624312878, file=file@entry=0x7f0618064578, key_info_buffer=key_info_buffer@entry=0x7f0624313de8, key_count=0x7f0624313de4, create_table_mode=0) at /data/src/10.2/sql/sql_table.cc:3408
|
#12 0x00007f06233b32eb in mysql_create_frm_image (thd=thd@entry=0x7f0618016070, db=db@entry=0x7f06181a8d68 "test", table_name=table_name@entry=0x7f06181a8728 "t1", create_info=create_info@entry=0x7f06243143e0, alter_info=alter_info@entry=0x7f0624314330, create_table_mode=create_table_mode@entry=0, key_info=0x7f0624313de8, key_count=0x7f0624313de4, frm=0x7f0624313df0) at /data/src/10.2/sql/sql_table.cc:4673
|
#13 0x00007f06233b7a8a in create_table_impl (thd=thd@entry=0x7f0618016070, orig_db=orig_db@entry=0x7f06181a8d68 "test", orig_table_name=orig_table_name@entry=0x7f06181a8728 "t1", db=<optimized out>, db@entry=0x7f06181a8d68 "test", table_name=<optimized out>, table_name@entry=0x7f06181a8728 "t1", path=path@entry=0x7f0624313e00 "./test/t1", options=..., create_info=0x7f06243143e0, alter_info=0x7f0624314330, create_table_mode=0, is_trans=0x7f062431408f, key_info=0x7f0624313de8, key_count=0x7f0624313de4, frm=0x7f0624313df0) at /data/src/10.2/sql/sql_table.cc:4915
|
#14 0x00007f06233b80ca in mysql_create_table_no_lock (thd=thd@entry=0x7f0618016070, db=db@entry=0x7f06181a8d68 "test", table_name=table_name@entry=0x7f06181a8728 "t1", create_info=create_info@entry=0x7f06243143e0, alter_info=alter_info@entry=0x7f0624314330, is_trans=is_trans@entry=0x7f062431408f, create_table_mode=0) at /data/src/10.2/sql/sql_table.cc:5030
|
#15 0x00007f06233b82b0 in mysql_create_table (thd=thd@entry=0x7f0618016070, create_table=create_table@entry=0x7f06181a8760, create_info=create_info@entry=0x7f06243143e0, alter_info=alter_info@entry=0x7f0624314330) at /data/src/10.2/sql/sql_table.cc:5093
|
#16 0x00007f0623318c52 in mysql_execute_command (thd=0x7f0618016070) at /data/src/10.2/sql/sql_parse.cc:3878
|
#17 0x00007f0623337556 in Prepared_statement::execute (this=this@entry=0x7f061814c470, expanded_query=expanded_query@entry=0x7f0624315e40, open_cursor=open_cursor@entry=false) at /data/src/10.2/sql/sql_prepare.cc:4363
|
#18 0x00007f06233378f7 in Prepared_statement::execute_loop (this=this@entry=0x7f061814c470, expanded_query=expanded_query@entry=0x7f0624315e40, open_cursor=open_cursor@entry=false, packet=packet@entry=0x0, packet_end=packet_end@entry=0x0) at /data/src/10.2/sql/sql_prepare.cc:3994
|
#19 0x00007f062333807b in mysql_sql_stmt_execute (thd=thd@entry=0x7f0618016070) at /data/src/10.2/sql/sql_prepare.cc:3114
|
#20 0x00007f0623317bb3 in mysql_execute_command (thd=thd@entry=0x7f0618016070) at /data/src/10.2/sql/sql_parse.cc:3393
|
#21 0x00007f0623321783 in mysql_parse (thd=thd@entry=0x7f0618016070, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x7f06243178e0, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /data/src/10.2/sql/sql_parse.cc:7796
|
#22 0x00007f0623323a53 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x7f0618016070, packet=packet@entry=0x7f0618058071 "execute stmt using @a", packet_length=packet_length@entry=21, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /data/src/10.2/sql/sql_parse.cc:1806
|
#23 0x00007f0623326585 in do_command (thd=0x7f0618016070) at /data/src/10.2/sql/sql_parse.cc:1366
|
#24 0x00007f06234131a8 in do_handle_one_connection (connect=connect@entry=0x7f0620471410) at /data/src/10.2/sql/sql_connect.cc:1354
|
#25 0x00007f0623413391 in handle_one_connection (arg=arg@entry=0x7f0620471410) at /data/src/10.2/sql/sql_connect.cc:1260
|
#26 0x00007f06236b8751 in pfs_spawn_thread (arg=0x7f0620415df0) at /data/src/10.2/storage/perfschema/pfs.cc:1862
|
#27 0x00007f0622a330a4 in start_thread (arg=0x7f0624319300) at pthread_create.c:309
|
#28 0x00007f062125387d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
|