mysqld-nt.exe!mysql_discard_or_import_tablespace(THD * thd=0x00000000063ca0a0, TABLE_LIST * table_list=0x000000000708e4e0, tablespace_op_type tablespace_op=NO_TABLESPACE_OP) Line 3015 + 0xc bytes C++ mysqld-nt.exe!mysql_alter_table(THD * thd=0x0000000000000000, char * new_db=0x00000000063c2f90, char * new_name=0x00000000063c20a0, st_ha_create_information * create_info=0x0000000000000001, TABLE_LIST * table_list=0x00000000063ca0d8, Alter_info * alter_info=0x000000000708e4e0, unsigned int order_num=0x00000000, st_order * order=0x0000000000000000, bool ignore=false) Line 3125 + 0x10 bytes C++ mysqld-nt.exe!mysql_execute_command(THD * thd=0x00000000063c20a0) Line 3342 + 0x52 bytes C++ mysqld-nt.exe!mysql_parse(THD * thd=0x00000000063e9011, const char * inBuf=0x0000000000000003, unsigned int length=0x063c20a0, const char * * found_semicolon=0x00000000063c2b30) Line 6179 C++ mysqld-nt.exe!dispatch_command(enum_server_command command=COM_SLEEP, THD * thd=0x000000000000ea60, char * packet=0x0000000000177ae0, unsigned int packet_length=0x063c2a30) Line 1877 C++ mysqld-nt.exe!do_command(THD * thd=0x00000000063c2150) Line 1581 + 0x11 bytes C++ mysqld-nt.exe!handle_one_connection(void * arg=0x00000000063c20a0) Line 1187 + 0xa bytes C++ mysqld-nt.exe!pthread_start(void * param=0x0000000000000000) Line 85 + 0x5 bytes C mysqld-nt.exe!_callthreadstart() Line 295 C mysqld-nt.exe!_threadstart(void * ptd=0x0000000077d6b660) Line 275 + 0x5 bytes C kernel32.dll!BaseThreadStart() + 0x3a bytes - thd 0x00000000063ca0a0 {net={...} warn_root={...} protocol=0x0000000000909e70 ...} THD * + Statement {id=0x00000000 set_query_id=false name={...} ...} Statement + Open_tables_state {open_tables=0x0000000000000000 temporary_tables=0x0000000000000000 handler_tables=0x0000000000000000 ...} Open_tables_state + DEFAULT_WHERE 0x00000000009023e0 "field list" const char * const + net {vio=0x0000000000000000 buff=0x0000000000000000 buff_end=0x0000000000000000 ...} st_net + warn_root {free=0x0100000000001f00 used=0x0000000000a87fc0 pre_alloc=0x0000000300000002 ...} st_mem_root + protocol 0x0000000000909e70 string "TABLE_NAME" {thd=0x000000000000454d packet=0x43535f454c424154 convert=0x00000000414d4548 ...} Protocol * + protocol_simple {...} Protocol_simple + protocol_prep {bit_fields=0xbaadf000 } Protocol_prep + user_vars {key_offset=0xbaadf000 key_length=0xbaadf00d records=0x656d614e ...} st_hash + packet {Ptr=0x0000000000a82010 "?" str_length=0x063ca580 Alloced_length=0x00000000 ...} String + convert_buffer {Ptr=0x00000006000000c0 str_length=0x00011f00 Alloced_length=0x01000000 ...} String + remote {sin_family=0xf000 sin_port=0xbaad sin_addr={...} ...} sockaddr_in + rand {seed1=0x00000000 seed2=0x00000000 max_value=0x00905ae4 ...} rand_struct + variables {myisam_max_extra_sort_file_size=0x0000000000000000 myisam_max_sort_file_size=0x0000000000000000 max_heap_table_size=0x0000000000905ae4 ...} system_variables + status_var {bytes_received=0xbaadf00dbaadf000 bytes_sent=0x006e6f6973726556 com_other=0x063ca790 ...} system_status_var + lock_info {thread=0x0000000000000000 thread_id=0x00905ec0 n_cursors=0x00000000 } st_thr_lock_info + main_lock_id {info=0x00000000063c3410 } st_thr_lock_owner + lock_id 0x0000000000000000 {info=??? } st_thr_lock_owner * + LOCK_delete {DebugInfo=0x0000000000000000 LockCount=0x00905ec0 RecursionCount=0x00000000 ...} _RTL_CRITICAL_SECTION + stmt_map {st_hash={...} names_hash={...} transient_cursor_list={...} ...} Statement_map + thread_stack 0x0000000000000000 char * + db 0x0000000000000000 char * + catalog 0x0000000000909df8 "DATA_LENGTH" char * + main_security_ctx {host=0x00000000063c3410 "" user=0x0000000000000000 priv_user=0x0000000000000000 ...} Security_context + security_ctx 0x00000000063caba8 {host=0x00000000063cacb0 "<" user=0x00000000063caab0 "A" priv_user=0x00000000008a4118 "@" ...} Security_context * peer_port 0xa9a8 unsigned short + proc_info 0x00000000008a4118 "@" const char * client_capabilities 0x00000000 unsigned long max_client_packet_length 0xbaadf00d unsigned long + handler_tables_hash {key_offset=0x00000000 key_length=0x00000000 records=0x00000000 ...} st_hash + ull 0x0000000000a82010 my_charset_bin {key=0x000000000000003f key_length=0x00000000 count=0x00000331 ...} User_level_lock * + mysys_var 0x0000000300000002 {thr_errno=??? suspend={...} mutex={...} ...} st_my_thread_var * command 0xbaadf000 enum_server_command server_id 0xffffffff unsigned long file_id 0x00000000 unsigned long + where 0x0000000000000000 const char * start_time 0x0000000000909dd0 __int64 time_after_lock 0x00000000063c3410 __int64 user_time 0x0000000000000000 __int64 connect_time 0x0000000000000000 __int64 thr_create_time 0x0000000000909dd0 __int64 update_lock_default 0xbaadf000 thr_lock_type + di 0x00000000063cb630 {locks_in_memory=0x063ca378 thd={...} table=0x0000000000000000 ...} Delayed_insert * in_sub_stmt 0x00000000 unsigned int + ha_data 0x00000000063cab70 void * [14] + transaction {savepoints=0x0000000000a82010 all={...} stmt={...} ...} THD::st_transactions + dupp_field 0x00000000063caec0 {ptr=0x00000000063cadc8 "A" null_ptr=0x00000000008a4118 "@" table=0xbaadf00d00000000 ...} Field * + active_vio 0x00000000063cacc0 {sd=0x00000000008a4118 hPipe=0xbaadf00d00000000 localhost=0x00 ...} st_vio * + change_list {...} I_List + stmt_arena 0xbaadf00dbaadf000 {free_list=??? mem_root=??? state=??? } Query_arena * next_insert_id 0x0000000000a82010 unsigned __int64 prev_insert_id 0x00000000063caeb0 unsigned __int64 last_insert_id 0x0000000000000000 unsigned __int64 current_insert_id 0x00000000063cacc0 unsigned __int64 limit_found_rows 0x0000000e00000014 unsigned __int64 options 0x0100000000010000 unsigned __int64 row_count_func 0x0000000000a82010 __int64 cuted_fields 0x0000000300000002 unsigned __int64 sent_row_count 0xffffffffbaadf000 unsigned __int64 examined_row_count 0x0000000000000000 unsigned __int64 used_tables 0x0000000000000000 unsigned __int64 + user_connect 0x0000000000905ed8 string "AUTO_INCREMENT" {user=0x434e495f4f545541 host=0x0000544e454d4552 len=0x00000000 ...} user_conn * + db_charset 0x00000000063c3410 {number=0x00000000 primary_number=0x00000000 binary_number=0x063ca0d8 ...} charset_info_st * + warn_list {...} List + warn_count 0x00000000063cae70 unsigned int [3] total_warn_count 0x00000000 unsigned int query_id 0x0000000000000000 unsigned __int64 warn_id 0x0000000000000000 unsigned __int64 thread_id 0x00000000 unsigned long col_access 0x00000000 unsigned long statement_id_counter 0x00000000 unsigned long rand_saved_seed1 0x00000000 unsigned long rand_saved_seed2 0xbaadf000 unsigned long row_count 0x00000000 unsigned long dbug_thread_id 0xbaadf000 long real_id 0x636e695f6f747541 void * tmp_table 0x656d6572 unsigned int global_read_lock 0xba00746e unsigned int server_status 0x063cafc8 unsigned int open_options 0x00000000 unsigned int system_thread 0x063cadc8 unsigned int db_length 0x00000000 unsigned int select_number 0x008a4118 unsigned int session_tx_isolation ISO_READ_UNCOMMITTED enum_tx_isolation count_cuted_fields CHECK_FIELD_IGNORE enum_check_fields + user_var_events {buffer=0x0000000000000000 elements=0x00000000 max_element=0x00000000 ...} st_dynamic_array + user_var_events_alloc 0x0000000000a82010 my_charset_bin {free=0x000000000000003f used=0x0000033100000000 pre_alloc=0x0000000003b565f0 ...} st_mem_root * killed 0x063cafb8 volatile THD::killed_state + scramble 0x00000000063caf04 "" char [21] slave_thread false bool one_shot_set false bool locked false bool some_tables_deleted true bool last_cuted_field false bool no_errors false bool password false bool is_fatal_error false bool transaction_rollback_request true bool is_fatal_sub_stmt_error true bool query_start_used false bool rand_used false bool time_zone_used false bool last_insert_id_used false bool last_insert_id_used_bin_log true bool insert_id_used true bool clear_next_insert_id true bool substitute_null_with_insert_id true bool in_lock_tables false bool query_error false bool bootstrap false bool cleanup_done false bool tmp_table_used false bool thread_specific_used true bool charset_is_system_charset false bool charset_is_collation_connection false bool charset_is_character_set_filesystem false bool enable_slow_log true bool abort_on_warning false bool got_warning false bool no_warnings_for_error false bool derived_tables_processing false bool tablespace_op 0xf0 '' char + spcont 0x0000000000000000 {callers_arena=??? m_root_parsing_ctx=??? m_var_table=??? ...} sp_rcontext * + sp_proc_cache 0x0000000000000000 {version=??? m_hashtable={...} } sp_cache * + sp_func_cache 0x0000000000909d50 string "CREATE_TIME" {version=0x41455243 m_hashtable={...} } sp_cache * + current_linfo 0x00000000063c3410 {log_file_name=0x00000000063c3410 "" index_file_offset=0x0000000100000000 index_file_start_offset=0xbaadf00d00000000 ...} st_log_info * + slave_net 0x0000000000000000 {vio=??? buff=??? buff_end=??? ...} st_net * + sys_var_tmp {my_bool_value=0x00 long_value=0x00000000 ulong_value=0x00000000 } THD:: + binlog_evt_union {do_union=true unioned_events=true unioned_events_trans=true ...} THD:: + m_lip 0x00000000063cb630 {m_thd=0x0000000000000000 yylineno=0x00000000 yytoklen=0x00000000 ...} Lex_input_stream * + m_internal_handler 0x0000000000000000 Internal_error_handler * + main_lex {unit={...} select_lex={...} current_select=0x0000000000000000 ...} st_lex + main_mem_root {free=0x00000000008a4118 used=0xbaadf00d00000000 pre_alloc=0x00000000008a27fc ...} st_mem_root - table_list 0x000000000708e4e0 {next_local=0x0000000000a6b8e8 next_global=0x000000000708e4e0 prev_global=0x0000000000000000 ...} TABLE_LIST * + next_local 0x0000000000a6b8e8 struct list_node end_of_list {next_local=0x0000000000a6b8e8 next_global=0x0000000000000000 prev_global=0x0000000000000000 ...} TABLE_LIST * + next_global 0x000000000708e4e0 {next_local=0x0000000000a6b8e8 next_global=0x000000000708e4e0 prev_global=0x0000000000000000 ...} TABLE_LIST * + prev_global 0x0000000000000000 TABLE_LIST * * + db 0x0000000000a6b8e8 "踦" char * + alias 0x000000000708e4f8 "踦" char * + table_name 0x0000000000000000 char * + schema_table_name 0x0000000000a6b8e8 "踦" char * + option 0x000000000708e510 "踦" char * + on_expr 0x000007ff00000000 {rsize=??? str_value={...} name=??? ...} Item * + prep_on_expr 0x0000000000a6b8e8 struct list_node end_of_list {unit={...} select_lex={...} current_select=0x000000000090a668 ...} Item * + cond_equal 0x000000000708e528 {max_members=0x00a6b8e8 upper_levels=0x000000000708e528 current_level={...} } COND_EQUAL * + natural_join 0x0000000000000000 {next_local=??? next_global=??? prev_global=??? ...} TABLE_LIST * is_natural_join false bool + join_using_fields 0x0000000000000002 List * + join_columns 0x0000000078f61d00 List * is_join_columns_complete false bool + next_name_resolution_table 0x0000000040000060 {next_local=??? next_global=??? prev_global=??? ...} TABLE_LIST * + use_index 0x0000000000000000 List * + ignore_index 0x00000000063e83c7 List * + table 0x0000000078f61bf6 {s=0x48653024448938eb file=0x8900000030250c8b next=0x8b48650000125081 ...} st_table * + derived_result 0x0000000000140000 {tmp_table_param={...} table=0x0000000000000000 } select_union * + correspondent_table 0x000000000708f310 {next_local=0x0000000000180910 next_global=0x00000000001807a0 prev_global=0x00000000fff90030 ...} TABLE_LIST * + derived 0x000000000017f900 {result_table_list=??? union_result=??? table=??? ...} st_select_lex_unit * + schema_table 0x0000000050000061 {table_name=??? fields_info=??? create_table=??? ...} st_schema_table * + schema_select_lex 0x0000024600000101 {context={...} db=??? where=??? ...} st_select_lex * schema_table_reformed true bool + schema_table_param 0x00001470000a0008 {copy_funcs={...} save_copy_funcs={...} copy_field=??? ...} TMP_TABLE_PARAM * + select_lex 0x000007fffff96000 {context={...} db=0x0000000000000000 where=0x0000000000000000 ...} st_select_lex * + view 0x0000000000000001 {unit={...} select_lex={...} current_select=??? ...} st_lex * + field_translation 0x00000000006dc228 {item=0x48da034d0f7ec085 name=0x3b8041d90348c863 } Field_translator * + field_translation_end 0x000000000000021a {item=??? name=??? } Field_translator * + merge_underlying_list 0x0000000000587f78 {next_local=0x85c93348247c8b48 next_global=0xc38b48d9450f48c0 prev_global=0xc4834840245c8b48 ...} TABLE_LIST * + view_tables 0x0000000000000002 List * + belong_to_view 0x0000000000000003 {next_local=??? next_global=??? prev_global=??? ...} TABLE_LIST * + referencing_view 0x00000000063ca02c {next_local=0x726f706d69203174 next_global=0x73656c6261742074 prev_global=0xbaadf00065636170 ...} TABLE_LIST * + security_ctx 0x0000000000000020 {host=??? user=??? priv_user=??? ...} Security_context * + view_sctx 0x0000000000000000 {host=??? user=??? priv_user=??? ...} Security_context * allowed_show true bool + next_leaf 0x0000000000140000 {next_local=0x0000000000000000 next_global=0x0000013c000000c5 prev_global=0x58000062eeffeeff ...} TABLE_LIST * + where 0x000000000708e718 {rsize=0x00000000 str_value={...} name=0x00000000063ca0d8 "" ...} Item * + check_option 0x000000000708f550 {rsize=0x00000001 str_value={...} name=0x00000000063ca040 "" ...} Item * + query {str=0x000000000000000a length=0x000001d8 } st_lex_string + md5 {str=0x0000000000589224 "" length=0x00000000 } st_lex_string + source {str=0x00000000000005f6 length=0x0708f550 } st_lex_string + view_db {str=0x0000000000000000 length=0x00000000 } st_lex_string + view_name {str=0x0000000000000000 length=0x03b47a30 } st_lex_string + timestamp {str=0x0000000000000000 length=0x00000000 } st_lex_string + definer {user={...} host={...} password={...} } st_lex_user file_version 0x0000000000000000 unsigned __int64 updatable_view 0x0000000000000000 unsigned __int64 revision 0x00000000006743e7 unsigned __int64 algorithm 0x0000000000000004 unsigned __int64 view_suid 0x0000000000000001 unsigned __int64 with_check 0x00000000063c87a0 unsigned __int64 effective_with_check 0x28 '(' unsigned char effective_algorithm 0xc2 '' unsigned char + grant {grant_table=0x0000000000000000 version=0x0058b089 privilege=0x00000000 ...} st_grant_info engine_data 0x00000000063ca31c unsigned __int64 callback_func 0x0000000000000031 char (THD *, char *, unsigned int, unsigned __int64 *)* lock_type 0x063ca0d0 thr_lock_type outer_join 0x00000000 unsigned int shared 0x00000000 unsigned int db_length 0x00000000 unsigned int table_name_length 0x00593a8c unsigned long updatable false bool straight false bool updating false bool force_index false bool ignore_leaves true bool dep_tables 0x0000000000000000 unsigned __int64 on_expr_dep_tables 0x00000000063c20a0 unsigned __int64 + nested_join 0x00000000063ca0d8 {join_list={...} used_tables=0x00000000063ca380 not_null_tables=0x00000000063ca0d0 ...} st_nested_join * + embedding 0x0000000000000000 {next_local=??? next_global=??? prev_global=??? ...} TABLE_LIST * + join_list 0x000000000708eb10 List * cacheable_table false bool table_in_first_from_clause false bool skip_temporary false bool contain_auto_increment false bool multitable_view false bool compact_view_format false bool where_processed false bool check_option_processed false bool required_type 0x0708eac8 frm_type_enum + timestamp_buffer 0x000000000708e76c "" char [20] prelocking_placeholder true bool create true bool trg_event_map 0x3c '<' unsigned char schema_table_state NOT_PROCESSED enum_schema_table_state tablespace_op NO_TABLESPACE_OP tablespace_op_type - qinfo {data_buf=0x0000000000001f68 query=0x00000000063e6fa0 "" catalog=0x0000000000000020 ...} Query_log_event + Log_event {log_pos=0x0000000000000000 temp_buf=0x000000000067ac50 "HLL+fffffB: " when=0x00000000063f5ba0 ...} Log_event + data_buf 0x0000000000001f68 unsigned char * + query 0x00000000063e6fa0 "" const char * + catalog 0x0000000000000020 const char * + db 0x0000000000000004 const char * q_len 0x78f42199 unsigned long db_len 0x00000000 unsigned long error_code 0x0000 unsigned short thread_id 0x00000000 unsigned long slave_proxy_id 0x0000c000 unsigned long catalog_len 0x00000000 unsigned int status_vars_len 0x4001 unsigned short flags2_inited true bool sql_mode_inited true bool charset_inited false bool flags2 0x00000000 unsigned long sql_mode 0x00000000 unsigned long auto_increment_increment 0x78f51c95 unsigned long auto_increment_offset 0x00000000 unsigned long + charset 0x000000000708cc58 "3x" char [6] time_zone_len 0x78f6102c unsigned int + time_zone_str 0x0000000078f3b758 "eH%0" const char * lc_time_names_number 0x78edd036 unsigned int charset_database_number 0x00000000 unsigned int e:\wrk\bugs\bug38901\bug38901.sql: i|1|drop table if exists `t1`| i|1|create table `t1`(`a` int,primary key(`a`))engine=innodb| n|1|start transaction| n|10|select * from `t1` where `a`=?|smallint n|10|insert ignore into `t1` values (?)|smallint n|1|commit| n|1|alter table `t1` discard tablespace| n|1|alter table `t1` import tablespace| n|1|flush table `t1`| gypsy --queryfile=e:\wrk\bugs\bug38901\bug38901.sql --threads=5 --shuffle-queries=1 --duration=6000