and the stack of these threads are: #0 0x00007fac54025d12 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00000000012924da in native_cond_timedwait (abstime=0x7fa9df3aaeb0, mutex=0x7fa4f9078090, cond=0x7fa4f90780c0) at /src/sql/include/thr_cond.h:100 #2 my_cond_timedwait (abstime=0x7fa9df3aaeb0, mp=0x7fa4f9078090, cond=0x7fa4f90780c0) at /src/sql/include/thr_cond.h:149 #3 inline_mysql_cond_timedwait (src_file=0x32c8828 "/src/sql/sql/mdl.cc", src_line=1807, abstime=0x7fa9df3aaeb0, mutex=0x7fa4f9078090, that=0x7fa4f90780c0) at /src/sql/include/mysql/psi/mysql_cond.h:239 #4 MDL_wait::timed_wait (this=this@entry=0x7fa4f9078090, owner=0x7fa4f9078000, abs_timeout=abs_timeout@entry=0x7fa9df3aaeb0, set_status_on_timeout=set_status_on_timeout@entry=true, wait_state_name=) at /src/sql/sql/mdl.cc:1807 #5 0x00000000012979c5 in MDL_context::acquire_lock (this=0x7fa4f9078090, mdl_request=0x7fa9df3ab0b0, lock_wait_timeout=) at /src/sql/sql/mdl.cc:3468 #6 0x00000000012982fe in MDL_context::acquire_locks (this=this@entry=0x7fa4f9078090, mdl_requests=, lock_wait_timeout=lock_wait_timeout@entry=31536000) at /src/sql/sql/mdl.cc:3600 #7 0x0000000001ca50fc in dd::acquire_mdl (thd=thd@entry=0x7fa4f9078000, lock_namespace=lock_namespace@entry=MDL_key::TABLE, schema_name=schema_name@entry=0x7fa9df3ab570 "testkiller", table_name=table_name@entry=0x7fa9df3ab2f0 "ddl_create_drop_foreign_key_table_005_table_0d", no_wait=no_wait@entry=false, lock_wait_timeout=, lock_type=MDL_SHARED, lock_duration=MDL_EXPLICIT, out_mdl_ticket=0x7fa9df3abcd0) at /src/sql/sql/dd/impl/dictionary_impl.cc:444 #8 0x0000000001ca56b9 in dd::acquire_shared_table_mdl (thd=thd@entry=0x7fa4f9078000, schema_name=schema_name@entry=0x7fa9df3ab570 "testkiller", table_name=table_name@entry=0x7fa9df3ab2f0 "ddl_create_drop_foreign_key_table_005_table_0d", no_wait=no_wait@entry=false, out_mdl_ticket=out_mdl_ticket@entry=0x7fa9df3abcd0) at /src/sql/sql/dd/impl/dictionary_impl.cc:457 #9 0x0000000002383209 in dd_mdl_acquire (thd=0x7fa4f9078000, mdl=0x7fa9df3abcd0, db=0x7fa9df3ab570 "testkiller", table=) at /src/sql/storage/innobase/include/dict0dd.ic:402 #10 0x00000000023a2c60 in dd_table_open_on_name (thd=0x7fa4f9078000, mdl=mdl@entry=0x7fa9df3abcd0, name=name@entry=0x7fa4e65029b8 "testkiller/ddl_create_drop_foreign_key_table_005_table_0d", dict_locked=dict_locked@entry=true, ignore_err=ignore_err@entry=0) at /src/sql/storage/innobase/dict/dict0dd.cc:902 #11 0x00000000023a363a in dd_get_referenced_table (name=name@entry=0x7fa9df3ae340 "testkiller/ddl_create_drop_foreign_key_table_005_table_1", database_name=database_name@entry=0x0, database_name_len=10, database_name_len@entry=0, table_name=table_name@entry=0x7fa4e65028d0 "ddl_create_drop_foreign_key_table_005_table_0d", table_name_len=46, table=table@entry=0x7fa9df3abca0, mdl=0x7fa9df3abcd0, heap=0x7fa4e6502818) at /src/sql/storage/innobase/dict/dict0dd.cc:6029 #12 0x000000000236f3a9 in dict_scan_table_name (cs=cs@entry=0x41b9c00 , ptr=0x7fa5bca80be7 "(c_bigint) ON UPDATE RESTRICT ON DELETE RESTRICT) Engine=MyISAM", ptr@entry=0x7fa5bca80bb8 " ddl_create_drop_foreign_key_table_005_table_0d(c_bigint) ON UPDATE RESTRICT ON DELETE RESTRICT) Engine=MyISAM", table=table@entry=0x7fa9df3abca0, mdl=mdl@entry=0x7fa9df3abcd0, name=name@entry=0x7fa9df3ae340 "testkiller/ddl_create_drop_foreign_key_table_005_table_1", success=success@entry=0x7fa9df3abcc0, heap=0x7fa4e6502818, ref_name=0x7fa9df3abcc8) at /src/sql/storage/innobase/dict/dict0dict.cc:3789 #13 0x0000000002381ba7 in dict_create_foreign_constraints_low (heap=heap@entry=0x7fa4e6502818, cs=0x41b9c00 , sql_string=sql_string@entry=0x7fa5bca80a98 "create table ddl_create_drop_foreign_key_table_005_table_1 ( w_id bigint not null AUTO_INCREMENT, w_name varchar(10), w_street_1 varchar(20), w_street_2 varchar(20), w_city varchar(20), w_state char(2"..., name=name@entry=0x7fa9df3ae340 "testkiller/ddl_create_drop_foreign_key_table_005_table_1", reject_fks=reject_fks@entry=0, trx=0x7fac2299f980) at /src/sql/storage/innobase/dict/dict0dict.cc:4335 #14 0x000000000238276a in dict_create_foreign_constraints (trx=trx@entry=0x7fac2299f980, sql_string=sql_string@entry=0x7fa50264e828 "create table ddl_create_drop_foreign_key_table_005_table_1 ( w_id bigint not null AUTO_INCREMENT, w_name varchar(10), w_street_1 varchar(20), w_street_2 varchar(20), w_city varchar(20), w_state char(2"..., sql_length=, name=name@entry=0x7fa9df3ae340 "testkiller/ddl_create_drop_foreign_key_table_005_table_1", reject_fks=0) at /src/sql/storage/innobase/dict/dict0dict.cc:4637 #15 0x0000000002201243 in row_table_add_foreign_constraints (trx=0x7fac2299f980, sql_string=sql_string@entry=0x7fa50264e828 "create table ddl_create_drop_foreign_key_table_005_table_1 ( w_id bigint not null AUTO_INCREMENT, w_name varchar(10), w_street_1 varchar(20), w_street_2 varchar(20), w_city varchar(20), w_state char(2"..., sql_length=, name=0x7fa9df3ae340 "testkiller/ddl_create_drop_foreign_key_table_005_table_1", reject_fks=, dd_table=dd_table@entry=0x7fa5026146d0) at /src/sql/storage/innobase/row/row0mysql.cc:3030 #16 0x00000000020d6a07 in create_table_info_t::create_table (this=this@entry=0x7fa9df3ae220, dd_table=dd_table@entry=0x7fa5026146d0) at /src/sql/storage/innobase/handler/ha_innodb.cc:13310 #17 0x00000000020d6ff6 in innobase_basic_ddl::create_impl (thd=0x7fa4f9078000, name=name@entry=0x7fa9df3b0d20 "./testkiller/ddl_create_drop_foreign_key_table_005_table_1", form=form@entry=0x7fa9df3af1b0, create_info=create_info@entry=0x7fa9df3b1210, dd_tab=dd_tab@entry=0x7fa5026146d0, file_per_table=file_per_table@entry=true, evictable=true, skip_strict=false, old_flags=0, old_flags2=0) at /src/sql/storage/innobase/handler/ha_innodb.cc:13558 #18 0x00000000020d806b in ha_innobase::create (this=0x7fa502663828, name=0x7fa9df3b0d20 "./testkiller/ddl_create_drop_foreign_key_table_005_table_1", form=0x7fa9df3af1b0, create_info=0x7fa9df3b1210, table_def=0x7fa5026146d0) at /src/sql/storage/innobase/handler/ha_innodb.cc:14520 #19 0x0000000001166901 in ha_create_table (thd=thd@entry=0x7fa4f9078000, path=path@entry=0x7fa9df3b0d20 "./testkiller/ddl_create_drop_foreign_key_table_005_table_1", db=db@entry=0x7fa50267bdd8 "testkiller", table_name=table_name@entry=0x7fa50264f4e8 "ddl_create_drop_foreign_key_table_005_table_1", create_info=create_info@entry=0x7fa9df3b1210, update_create_info=update_create_info@entry=false, is_temp_table=false, table_def=0x7fa5026146d0) at /src/sql/sql/handler.cc:5071 #20 0x0000000000fa2cf2 in rea_create_base_table (post_ddl_ht=0x7fa9df3b1038, table_def_ptr=0x7fa9df3b0c50, binlog_to_trx_cache=0x7fa9df3b0fd9, part_info=0x7fa9df3b13f0, do_not_store_in_dd=false, no_ha_table=false, file=0x7fa4f8faf028, check_cons_spec=0x7fa9df3b13d0, fk_key_info=, fk_keys=, keys_onoff=Alter_info::ENABLE, key_info=, keys=, create_fields=..., create_info=0x7fa9df3b1210, table_name=0x7fa50264f4e8 "ddl_create_drop_foreign_key_table_005_table_1", db=0x7fa50267bdd8 "testkiller", sch_obj=..., path=0x7fa9df3b0d20 "./testkiller/ddl_create_drop_foreign_key_table_005_table_1", thd=0x7fa4f9078000) at /src/sql/sql/sql_table.cc:1028 #21 create_table_impl (thd=thd@entry=0x7fa4f9078000, schema=..., db=db@entry=0x7fa50267bdd8 "testkiller", table_name=table_name@entry=0x7fa50264f4e8 "ddl_create_drop_foreign_key_table_005_table_1", error_table_name=error_table_name@entry=0x7fa50264f4e8 "ddl_create_drop_foreign_key_table_005_table_1", path=path@entry=0x7fa9df3b0d20 "./testkiller/ddl_create_drop_foreign_key_table_005_table_1", create_info=0x7fa9df3b1210, alter_info=0x7fa9df3b1310, internal_tmp_table=false, select_field_count=0, find_parent_keys=true, no_ha_table=false, do_not_store_in_dd=false, is_trans=0x7fa9df3b0fd9, key_info=0x7fa9df3b0c90, key_count=0x7fa9df3b0c48, keys_onoff=Alter_info::ENABLE, fk_key_info=0x7fa9df3b0ca0, fk_key_count=0x7fa9df3b0c4c, existing_fk_info=0x0, existing_fk_count=0, existing_fk_table=0x0, fk_max_generated_name_number=0, table_def=0x7fa9df3b0c50, post_ddl_ht=0x7fa9df3b1038) at /src/sql/sql/sql_table.cc:8476 #22 0x0000000000fa3525 in mysql_create_table_no_lock (thd=thd@entry=0x7fa4f9078000, db=0x7fa50267bdd8 "testkiller", table_name=0x7fa50264f4e8 "ddl_create_drop_foreign_key_table_005_table_1", create_info=create_info@entry=0x7fa9df3b1210, alter_info=alter_info@entry=0x7fa9df3b1310, select_field_count=select_field_count@entry=0, find_parent_keys=true, is_trans=0x7fa9df3b0fd9, post_ddl_ht=0x7fa9df3b1038) at /src/sql/sql/sql_table.cc:8664 #23 0x0000000000fa391b in mysql_create_table (thd=thd@entry=0x7fa4f9078000, create_table=create_table@entry=0x7fa50267b828, create_info=create_info@entry=0x7fa9df3b1210, alter_info=alter_info@entry=0x7fa9df3b1310) at /src/sql/sql/sql_table.cc:9500 #24 0x000000000131d34a in Sql_cmd_create_table::execute (this=0x7fa50267c8e8, thd=0x7fa4f9078000) at /src/sql/sql/sql_cmd_ddl_table.cc:319 #25 0x0000000000f12a9d in mysql_execute_command (thd=thd@entry=0x7fa4f9078000, first_level=first_level@entry=true) at /src/sql/sql/sql_parse.cc:4715 #26 0x0000000000f169a0 in mysql_parse (thd=thd@entry=0x7fa4f9078000, parser_state=parser_state@entry=0x7fa9df3b2d50) at /src/sql/sql/sql_parse.cc:5602 #27 0x0000000000f18aa0 in dispatch_command (thd=thd@entry=0x7fa4f9078000, com_data=com_data@entry=0x7fa9df3b3490, command=COM_QUERY) at /src/sql/sql/sql_parse.cc:1808 #28 0x0000000000f19580 in do_command (thd=thd@entry=0x7fa4f9078000) at /src/sql/sql/sql_parse.cc:1301 #29 0x00007fa5cbfba9b1 in threadpool_process_request (thd=0x7fa4f9078000) at /src/sql/plugin/threadpool/threadpool_common.cc:254 #30 0x00007fa5cbfbbf66 in handle_event (connection=0x7fa4f8d35520) at /src/sql/plugin/threadpool/threadpool_unix.cc:1426 #31 worker_main (param=0x7fa5cc1bfc00 ) at /src/sql/plugin/threadpool/threadpool_unix.cc:1499 #32 0x00007fac54021e45 in start_thread () from /lib64/libpthread.so.0 #33 0x00007fac4bfe5b3d in clone () from /lib64/libc.so.6 (gdb) bt #0 0x00007fac54025965 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000218da56 in wait (this=0x7fac207b1fb8) at /src/sql/storage/innobase/os/os0event.cc:189 #2 os_event::wait_low (this=0x7fac207b1fb8, reset_sig_count=616) at /src/sql/storage/innobase/os/os0event.cc:371 #3 0x000000000218dd3a in os_event_wait_low (event=, reset_sig_count=) at /src/sql/storage/innobase/os/os0event.cc:607 #4 0x0000000002261a30 in sync_array_wait_event (arr=arr@entry=0x7fac232426b8, cell=@0x7fa9df365738: 0x7fac22f01318) at /src/sql/storage/innobase/sync/sync0arr.cc:444 #5 0x00000000022653cf in rw_lock_x_lock_func (lock=lock@entry=0x7fac207b1dd8, pass=pass@entry=0, file_name=file_name@entry=0x391e7a8 "/src/sql/storage/innobase/dict/dict0stats.cc", line=line@entry=3225) at /src/sql/storage/innobase/sync/sync0rw.cc:725 #6 0x00000000023b8949 in pfs_rw_lock_x_lock_func (pass=0, line=3225, file_name=0x391e7a8 "/src/sql/storage/innobase/dict/dict0stats.cc", lock=0x7fac207b1dd8) at /src/sql/storage/innobase/include/sync0rw.ic:627 #7 dict_stats_rename_table (old_name=, old_name@entry=0x7fa9df3662c0 "testkiller/#sql-4f28_382", new_name=, new_name@entry=0x7fa9df3660c0 "testkiller/ddl_create_drop_foreign_key_table_005_table_3", errstr=errstr@entry=0x7fa9df3664c0 "0e6ߩ\177", errstr_sz=errstr_sz@entry=512) at /src/sql/storage/innobase/dict/dict0stats.cc:3225 #8 0x00000000020bd66e in innobase_basic_ddl::rename_impl (thd=thd@entry=0x7fa4f9084000, from=from@entry=0x7fa9df3669b0 "./testkiller/#sql-4f28_382", to=to@entry=0x7fa9df366bc0 "./testkiller/ddl_create_drop_foreign_key_table_005_table_3", from_table=from_table@entry=0x7fa5bc562ad0, to_table=to_table@entry=0x7fa5bc561ed0) at /src/sql/storage/innobase/handler/ha_innodb.cc:13836 #9 0x00000000020bd955 in ha_innobase::rename_table (this=0x7fa4f59fbe00, from=0x7fa9df3669b0 "./testkiller/#sql-4f28_382", to=0x7fa9df366bc0 "./testkiller/ddl_create_drop_foreign_key_table_005_table_3", from_table_def=0x7fa5bc562ad0, to_table_def=0x7fa5bc561ed0) at /src/sql/storage/innobase/handler/ha_innodb.cc:15813 #10 0x0000000000f8c034 in mysql_rename_table (thd=thd@entry=0x7fa4f9084000, base=base@entry=0x7fac49cafc20, old_db=0x7fa5bc5c2878 "testkiller", old_name=old_name@entry=0x7fa9df368e30 "#sql-4f28_382", old_fk_db=, old_fk_name=0x7fa5bc5c1b78 "ddl_create_drop_foreign_key_table_005_table_3", new_schema=..., new_db=0x7fa5bc5c2878 "testkiller", new_name=0x7fa5bc5c1b78 "ddl_create_drop_foreign_key_table_005_table_3", flags=57) at /src/sql/sql/sql_table.cc:9981 #11 0x0000000000face74 in mysql_alter_table (thd=thd@entry=0x7fa4f9084000, new_db=, new_name=, create_info=create_info@entry=0x7fa9df369c70, table_list=table_list@entry=0x7fa5bc5c22c8, alter_info=alter_info@entry=0x7fa9df369d70) at /src/sql/sql/sql_table.cc:16643 #12 0x0000000001317133 in Sql_cmd_alter_table::execute (this=, thd=0x7fa4f9084000) at /src/sql/sql/sql_alter.cc:350 #13 0x0000000000f12a9d in mysql_execute_command (thd=thd@entry=0x7fa4f9084000, first_level=first_level@entry=true) at /src/sql/sql/sql_parse.cc:4715 #14 0x0000000000f169a0 in mysql_parse (thd=thd@entry=0x7fa4f9084000, parser_state=parser_state@entry=0x7fa9df36bd50) at /src/sql/sql/sql_parse.cc:5602 #15 0x0000000000f18aa0 in dispatch_command (thd=thd@entry=0x7fa4f9084000, com_data=com_data@entry=0x7fa9df36c490, command=COM_QUERY) at /src/sql/sql/sql_parse.cc:1808 #16 0x0000000000f19580 in do_command (thd=thd@entry=0x7fa4f9084000) at /src/sql/sql/sql_parse.cc:1301 #17 0x00007fa5cbfba9b1 in threadpool_process_request (thd=0x7fa4f9084000) at /src/sql/plugin/threadpool/threadpool_common.cc:254 #18 0x00007fa5cbfbbf66 in handle_event (connection=0x7fa4f8d35880) at /src/sql/plugin/threadpool/threadpool_unix.cc:1426 #19 worker_main (param=0x7fa5cc1bfe00 ) at /src/sql/plugin/threadpool/threadpool_unix.cc:1499 #20 0x00007fac54021e45 in start_thread () from /lib64/libpthread.so.0 #21 0x00007fac4bfe5b3d in clone () from /lib64/libc.so.6 (gdb) bt #0 0x00007fac54025965 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000218da56 in wait (this=0x7fac207b1e78) at /src/sql/storage/innobase/os/os0event.cc:189 #2 os_event::wait_low (this=0x7fac207b1e78, reset_sig_count=372) at /src/sql/storage/innobase/os/os0event.cc:371 #3 0x000000000218dd3a in os_event_wait_low (event=, reset_sig_count=) at /src/sql/storage/innobase/os/os0event.cc:607 #4 0x0000000002261a30 in sync_array_wait_event (arr=arr@entry=0x7fac232426b8, cell=@0x7fa9e2e44e08: 0x7fac22f01218) at /src/sql/storage/innobase/sync/sync0arr.cc:444 #5 0x00000000022653cf in rw_lock_x_lock_func (lock=lock@entry=0x7fac227a5918, pass=pass@entry=0, file_name=file_name@entry=0x3900388 "/src/sql/storage/innobase/include/dict0dict.h", line=line@entry=1171) at /src/sql/storage/innobase/sync/sync0rw.cc:725 #6 0x00000000021ac8d6 in pfs_rw_lock_x_lock_func (pass=0, file_name=0x3900388 "/src/sql/storage/innobase/include/dict0dict.h", line=1171, lock=0x7fac227a5918) at /src/sql/storage/innobase/include/sync0rw.ic:627 #7 dict_x_lock (this=0x7fac227a5918) at /src/sql/storage/innobase/include/dict0dict.h:1171 #8 dd_table_open_on_name_in_mem (dict_locked=0, name=0x7fa518289230 "mysql/innodb_index_stats") at /src/sql/storage/innobase/include/dict0dd.ic:273 #9 pars_retrieve_table_def (sym_node=0x7fa518289150) at /src/sql/storage/innobase/pars/pars0pars.cc:730 #10 0x00000000021b0289 in pars_update_statement (node=0x7fa518289250, cursor_sym=cursor_sym@entry=0x0, search_cond=0x7fa5182897e0) at /src/sql/storage/innobase/pars/pars0pars.cc:1091 #11 0x0000000002474b5e in yyparse () at pars0grm.y:399 #12 0x00000000021af0de in pars_sql (info=info@entry=0x7fa518247088, str=str@entry=0x391eb60 "PROCEDURE DELETE_FROM_INDEX_STATS () IS\nBEGIN\nDELETE FROM \"mysql/innodb_index_stats\" WHERE\ndatabase_name = :database_name AND\ntable_name = :table_name;\nEND;\n") at /src/sql/storage/innobase/pars/pars0pars.cc:1736 #13 0x00000000021bdb19 in que_eval_sql (info=info@entry=0x7fa518247088, sql=0x391eb60 "PROCEDURE DELETE_FROM_INDEX_STATS () IS\nBEGIN\nDELETE FROM \"mysql/innodb_index_stats\" WHERE\ndatabase_name = :database_name AND\ntable_name = :table_name;\nEND;\n", reserve_dict_mutex=reserve_dict_mutex@entry=0, trx=trx@entry=0x7fac2299e6e8) at /src/sql/storage/innobase/que/que0que.cc:1074 #14 0x00000000023b6c29 in dict_stats_exec_sql (pinfo=pinfo@entry=0x7fa518247088, sql=sql@entry=0x391eb60 "PROCEDURE DELETE_FROM_INDEX_STATS () IS\nBEGIN\nDELETE FROM \"mysql/innodb_index_stats\" WHERE\ndatabase_name = :database_name AND\ntable_name = :table_name;\nEND;\n", trx=0x7fac2299e6e8, trx@entry=0x0) at /src/sql/storage/innobase/dict/dict0stats.cc:197 #15 0x00000000023b808f in dict_stats_delete_from_index_stats (table_name=0x7fa9e2e459b0 "ddl_create_drop_partition_table_004_key_1#P#p6", database_name=0x7fa9e2e458e0 "testkiller") at /src/sql/storage/innobase/dict/dict0stats.cc:3035 #16 dict_stats_drop_table (db_and_table=, db_and_table@entry=0x7fa9e2e467e0 "testkiller/ddl_create_drop_partition_table_004_key_1#P#p6", errstr=errstr@entry=0x7fa9e2e46300 "`\255\034\030\245\177", errstr_sz=errstr_sz@entry=1024) at /src/sql/storage/innobase/dict/dict0stats.cc:3079 #17 0x000000000220347a in row_drop_table_for_mysql (name=name@entry=0x7fa9e2e467e0 "testkiller/ddl_create_drop_partition_table_004_key_1#P#p6", trx=trx@entry=0x7fac2299b690, nonatomic=, nonatomic@entry=true, handler=handler@entry=0x0) at /src/sql/storage/innobase/row/row0mysql.cc:3947 #18 0x00000000020bf001 in innobase_basic_ddl::delete_impl (thd=thd@entry=0x7fa4f8e57000, name=name@entry=0x7fa9e2e46a40 "./testkiller/ddl_create_drop_partition_table_004_key_1#P#p6", dd_tab=dd_tab@entry=0x7fa53eca9620) at /src/sql/storage/innobase/handler/ha_innodb.cc:13713 #19 0x00000000020dc7ce in ha_innopart::delete_table (this=, name=, dd_table=) at /src/sql/storage/innobase/handler/ha_innopart.cc:2630 #20 0x0000000001160922 in ha_delete_table (thd=thd@entry=0x7fa4f8e57000, table_type=, path=path@entry=0x7fa9e2e47f40 "./testkiller/ddl_create_drop_partition_table_004_key_1", db=0x7fa5181c0198 "testkiller", alias=0x7fa5181bfa48 "ddl_create_drop_partition_table_004_key_1", table_def=0x7fa518209cd0, generate_warning=true) at /src/sql/sql/handler.cc:2424 #21 0x0000000000f8f013 in drop_base_table (thd=thd@entry=0x7fa4f8e57000, drop_ctx=..., table=0x7fa5181bfbe8, atomic=atomic@entry=true, post_ddl_htons=post_ddl_htons@entry=0x7fa9e2e493a0, fk_invalidator=fk_invalidator@entry=0x7fa9e2e493d0, safe_to_release_mdl=0x7fa9e2e48280) at /src/sql/sql/sql_table.cc:2783 #22 0x0000000000f99402 in mysql_rm_table_no_locks (thd=thd@entry=0x7fa4f8e57000, tables=tables@entry=0x7fa5181bfbe8, if_exists=if_exists@entry=true, drop_temporary=drop_temporary@entry=false, drop_database=drop_database@entry=false, dropped_non_atomic_flag=dropped_non_atomic_flag@entry=0x7fa9e2e4935f, post_ddl_htons=0x7fa9e2e493a0, fk_invalidator=0x7fa9e2e493d0, safe_to_release_mdl=0x7fa9e2e49380) at /src/sql/sql/sql_table.cc:3143 #23 0x0000000000f9a96f in mysql_rm_table (thd=thd@entry=0x7fa4f8e57000, tables=tables@entry=0x7fa5181bfbe8, if_exists=, drop_temporary=) at /src/sql/sql/sql_table.cc:1525 #24 0x0000000000f14686 in mysql_execute_command (thd=thd@entry=0x7fa4f8e57000, first_level=first_level@entry=true) at /src/sql/sql/sql_parse.cc:3650 #25 0x0000000000f169a0 in mysql_parse (thd=thd@entry=0x7fa4f8e57000, parser_state=parser_state@entry=0x7fa9e2e4ad50) at /src/sql/sql/sql_parse.cc:5602 #26 0x0000000000f18aa0 in dispatch_command (thd=thd@entry=0x7fa4f8e57000, com_data=com_data@entry=0x7fa9e2e4b490, command=COM_QUERY) at /src/sql/sql/sql_parse.cc:1808 #27 0x0000000000f19580 in do_command (thd=thd@entry=0x7fa4f8e57000) at /src/sql/sql/sql_parse.cc:1301 #28 0x00007fa5cbfba9b1 in threadpool_process_request (thd=0x7fa4f8e57000) at /src/sql/plugin/threadpool/threadpool_common.cc:254 #29 0x00007fa5cbfbbf66 in handle_event (connection=0x7fa4f8d367e0) at /src/sql/plugin/threadpool/threadpool_unix.cc:1426 #30 worker_main (param=0x7fa5cc1c0600 ) at /src/sql/plugin/threadpool/threadpool_unix.cc:1499 #31 0x00007fac54021e45 in start_thread () from /lib64/libpthread.so.0 #32 0x00007fac4bfe5b3d in clone () from /lib64/libc.so.6