Thread 11 (process 26107): ---Type to continue, or q to quit--- #0 0x0092a402 in __kernel_vsyscall () #1 0x008a0a3e in __lll_mutex_lock_wait () from /lib/libpthread.so.0 #2 0x0089c8c0 in _L_mutex_lock_897 () from /lib/libpthread.so.0 #3 0x0089c83c in pthread_mutex_lock () from /lib/libpthread.so.0 #4 0x08626947 in safe_mutex_lock (mp=0x895b740, my_flags=0, file=0x87a10cb "sql_test.cc", line=547) at thr_mutex.c:228 #5 0x0835289b in inline_mysql_mutex_lock (that=0x895b740, flags=0, src_file=0x87a10cb "sql_test.cc", src_line=547) at ../include/mysql/psi/mysql_thread.h:553 #6 0x08353e48 in mysql_print_status () at sql_test.cc:547 #7 0x0827243e in signal_hand (arg=0x0) at mysqld.cc:3060 #8 0x0089a45b in start_thread () from /lib/libpthread.so.0 #9 0x007f1c4e in clone () from /lib/libc.so.6 Thread 10 (process 29317): #0 0x0092a402 in __kernel_vsyscall () #1 0x008a0a3e in __lll_mutex_lock_wait () from /lib/libpthread.so.0 #2 0x0089c8c0 in _L_mutex_lock_897 () from /lib/libpthread.so.0 #3 0x0089c83c in pthread_mutex_lock () from /lib/libpthread.so.0 #4 0x08626947 in safe_mutex_lock (mp=0x895b740, my_flags=0, file=0x87b8f48 "sql_show.cc", line=6114) at thr_mutex.c:228 #5 0x08401e2b in inline_mysql_mutex_lock (that=0x895b740, flags=0, src_file=0x87b8f48 "sql_show.cc", src_line=6114) at ../include/mysql/psi/mysql_thread.h:553 #6 0x0840fc2b in fill_status (thd=0xa9a75028, tables=0xb2aded0, cond=0x0) at sql_show.cc:6114 #7 0x0840309b in get_schema_tables_result (join=0xa9a9e7a0, executed_place=PROCESSED_BY_JOIN_EXEC) at sql_show.cc:6794 #8 0x08327a91 in JOIN::exec (this=0xa9a9e7a0) at sql_select.cc:2456 #9 0x0832404f in mysql_select (thd=0xa9a75028, rref_pointer_array=0xa9a76578, tables=0xb2aded0, wild_num=0, fields=@0xa9a76508, conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2685668096, result=0xb2ae578, unit=0xa9a75fac, select_lex=0xa9a76474) at sql_select.cc:3137 #10 0x0832991c in handle_select (thd=0xa9a75028, lex=0xa9a75f50, result=0xb2ae578, setup_tables_done_option=0) at sql_select.cc:304 #11 0x082826a2 in execute_sqlcom_select (thd=0xa9a75028, all_tables=0xb2aded0) at sql_parse.cc:4940 #12 0x08283467 in mysql_execute_command (thd=0xa9a75028) at sql_parse.cc:2113 #13 0x0828bcf1 in mysql_parse (thd=0xa9a75028, inBuf=0xb2adcd8 "SHOW STATUS", length=11, found_semicolon=0xa98d8e58) at sql_parse.cc:5971 #14 0x0828d026 in dispatch_command (command=COM_QUERY, thd=0xa9a75028, packet=0xa9aa86b1 "SHOW STATUS", packet_length=11) at sql_parse.cc:1090 #15 0x0828e28e in do_command (thd=0xa9a75028) at sql_parse.cc:774 #16 0x0827c08c in do_handle_one_connection (thd_arg=0xa9a75028) at sql_connect.cc:1173 #17 0x0827c13d in handle_one_connection (arg=0xa9a75028) at sql_connect.cc:1113 #18 0x0089a45b in start_thread () from /lib/libpthread.so.0 #19 0x007f1c4e in clone () from /lib/libc.so.6 Thread 9 (process 29344): #0 0x0092a402 in __kernel_vsyscall () #1 0x008a0a3e in __lll_mutex_lock_wait () from /lib/libpthread.so.0 #2 0x0089c8c0 in _L_mutex_lock_897 () from /lib/libpthread.so.0 #3 0x0089c83c in pthread_mutex_lock () from /lib/libpthread.so.0 #4 0x08626947 in safe_mutex_lock (mp=0x895b740, my_flags=0, file=0x87b8f48 "sql_show.cc", line=6114) at thr_mutex.c:228 #5 0x08401e2b in inline_mysql_mutex_lock (that=0x895b740, flags=0, src_file=0x87b8f48 "sql_show.cc", src_line=6114) at ../include/mysql/psi/mysql_thread.h:553 ---Type to continue, or q to quit--- #6 0x0840fc2b in fill_status (thd=0xa9a3a210, tables=0xa9aa4348, cond=0x0) at sql_show.cc:6114 #7 0x0840309b in get_schema_tables_result (join=0xa9ab6338, executed_place=PROCESSED_BY_JOIN_EXEC) at sql_show.cc:6794 #8 0x08327a91 in JOIN::exec (this=0xa9ab6338) at sql_select.cc:2456 #9 0x0832404f in mysql_select (thd=0xa9a3a210, rref_pointer_array=0xa9aa3c18, tables=0xa9aa4348, wild_num=0, fields=@0xa9aa3ba8, conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2953579008, result=0xa9aa4778, unit=0xa9aa364c, select_lex=0xa9aa3b14) at sql_select.cc:3137 #10 0x0832991c in handle_select (thd=0xa9a3a210, lex=0xa9aa35f0, result=0xa9aa4778, setup_tables_done_option=0) at sql_select.cc:304 #11 0x082826a2 in execute_sqlcom_select (thd=0xa9a3a210, all_tables=0xa9aa4348) at sql_parse.cc:4940 #12 0x08283467 in mysql_execute_command (thd=0xa9a3a210) at sql_parse.cc:2113 #13 0x0833f62d in Prepared_statement::execute (this=0xa9a018d8, expanded_query=0xa98a6af8, open_cursor=false) at sql_prepare.cc:3769 #14 0x0833f8ed in Prepared_statement::execute_loop (this=0xa9a018d8, expanded_query=0xa98a6af8, open_cursor=false, packet=0x0, packet_end=0x0) at sql_prepare.cc:3402 #15 0x0833fb88 in mysql_sql_stmt_execute (thd=0xa9a3a210) at sql_prepare.cc:2575 #16 0x08283675 in mysql_execute_command (thd=0xa9a3a210) at sql_parse.cc:2175 #17 0x0828bcf1 in mysql_parse (thd=0xa9a3a210, inBuf=0xb01b430 "EXECUTE st1", length=11, found_semicolon=0xa98a7e58) at sql_parse.cc:5971 #18 0x0828d026 in dispatch_command (command=COM_QUERY, thd=0xa9a3a210, packet=0xa9a63a11 " EXECUTE st1 ", packet_length=13) at sql_parse.cc:1090 #19 0x0828e28e in do_command (thd=0xa9a3a210) at sql_parse.cc:774 #20 0x0827c08c in do_handle_one_connection (thd_arg=0xa9a3a210) at sql_connect.cc:1173 #21 0x0827c13d in handle_one_connection (arg=0xa9a3a210) at sql_connect.cc:1113 #22 0x0089a45b in start_thread () from /lib/libpthread.so.0 #23 0x007f1c4e in clone () from /lib/libc.so.6 Thread 8 (process 29349): #0 0x0092a402 in __kernel_vsyscall () #1 0x008a0a3e in __lll_mutex_lock_wait () from /lib/libpthread.so.0 #2 0x0089c8c0 in _L_mutex_lock_897 () from /lib/libpthread.so.0 #3 0x0089c83c in pthread_mutex_lock () from /lib/libpthread.so.0 #4 0x08626947 in safe_mutex_lock (mp=0x895b740, my_flags=0, file=0x87b8f48 "sql_show.cc", line=6114) at thr_mutex.c:228 #5 0x08401e2b in inline_mysql_mutex_lock (that=0x895b740, flags=0, src_file=0x87b8f48 "sql_show.cc", src_line=6114) at ../include/mysql/psi/mysql_thread.h:553 #6 0x0840fc2b in fill_status (thd=0xa9a9c8e8, tables=0xb2bfba8, cond=0x0) at sql_show.cc:6114 #7 0x0840309b in get_schema_tables_result (join=0xa9153d48, executed_place=PROCESSED_BY_JOIN_EXEC) at sql_show.cc:6794 #8 0x08327a91 in JOIN::exec (this=0xa9153d48) at sql_select.cc:2456 #9 0x0832404f in mysql_select (thd=0xa9a9c8e8, rref_pointer_array=0xa9a9de38, tables=0xb2bfba8, wild_num=0, fields=@0xa9a9ddc8, conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2685143552, result=0xb2c0250, unit=0xa9a9d86c, select_lex=0xa9a9dd34) at sql_select.cc:3137 #10 0x0832991c in handle_select (thd=0xa9a9c8e8, lex=0xa9a9d810, result=0xb2c0250, setup_tables_done_option=0) at sql_select.cc:304 #11 0x082826a2 in execute_sqlcom_select (thd=0xa9a9c8e8, all_tables=0xb2bfba8) at sql_parse.cc:4940 #12 0x08283467 in mysql_execute_command (thd=0xa9a9c8e8) at sql_parse.cc:2113 #13 0x0828bcf1 in mysql_parse (thd=0xa9a9c8e8, inBuf=0xb2bf9b0 "SHOW STATUS", length=11, found_semicolon=0xa96fee58) at sql_parse.cc:5971 #14 0x0828d026 in dispatch_command (command=COM_QUERY, thd=0xa9a9c8e8, packet=0xa9a8a9d9 "SHOW STATUS", packet_length=11) at sql_parse.cc:1090 #15 0x0828e28e in do_command (thd=0xa9a9c8e8) at sql_parse.cc:774 #16 0x0827c08c in do_handle_one_connection (thd_arg=0xa9a9c8e8) at sql_connect.cc:1173 #17 0x0827c13d in handle_one_connection (arg=0xa9a9c8e8) at sql_connect.cc:1113 #18 0x0089a45b in start_thread () from /lib/libpthread.so.0 ---Type to continue, or q to quit--- #19 0x007f1c4e in clone () from /lib/libc.so.6 Thread 7 (process 29351): #0 0x0092a402 in __kernel_vsyscall () #1 0x008a0a3e in __lll_mutex_lock_wait () from /lib/libpthread.so.0 #2 0x0089c8c0 in _L_mutex_lock_897 () from /lib/libpthread.so.0 #3 0x0089c83c in pthread_mutex_lock () from /lib/libpthread.so.0 #4 0x08626947 in safe_mutex_lock (mp=0x895bac0, my_flags=0, file=0x87b8f48 "sql_show.cc", line=2295) at thr_mutex.c:228 #5 0x08401e2b in inline_mysql_mutex_lock (that=0x895bac0, flags=0, src_file=0x87b8f48 "sql_show.cc", src_line=2295) at ../include/mysql/psi/mysql_thread.h:553 #6 0x0840b12f in show_status_array (thd=0xa9a76d48, wild=0x0, variables=0x8837698, value_type=OPT_SESSION, status_var=0xa97e2d10, prefix=0xa97e1ffc "Com", table=0xa9105060, ucase_names=false, cond=0x0) at sql_show.cc:2295 #7 0x0840b096 in show_status_array (thd=0xa9a76d48, wild=0x0, variables=0xa7a8840, value_type=OPT_SESSION, status_var=0xa97e2d10, prefix=0x87b8f47 "", table=0xa9105060, ucase_names=false, cond=0x0) at sql_show.cc:2284 #8 0x0840fc8b in fill_status (thd=0xa9a76d48, tables=0xb2bcbc0, cond=0x0) at sql_show.cc:6120 #9 0x0840309b in get_schema_tables_result (join=0xa9117c20, executed_place=PROCESSED_BY_JOIN_EXEC) at sql_show.cc:6794 #10 0x08327a91 in JOIN::exec (this=0xa9117c20) at sql_select.cc:2456 #11 0x0832404f in mysql_select (thd=0xa9a76d48, rref_pointer_array=0xa9a78298, tables=0xb2bcbc0, wild_num=0, fields=@0xa9a78228, conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2686192128, result=0xb2bd268, unit=0xa9a77ccc, select_lex=0xa9a78194) at sql_select.cc:3137 #12 0x0832991c in handle_select (thd=0xa9a76d48, lex=0xa9a77c70, result=0xb2bd268, setup_tables_done_option=0) at sql_select.cc:304 #13 0x082826a2 in execute_sqlcom_select (thd=0xa9a76d48, all_tables=0xb2bcbc0) at sql_parse.cc:4940 #14 0x08283467 in mysql_execute_command (thd=0xa9a76d48) at sql_parse.cc:2113 #15 0x0828bcf1 in mysql_parse (thd=0xa9a76d48, inBuf=0xb2bc9c8 "SHOW STATUS", length=11, found_semicolon=0xa97e3e58) at sql_parse.cc:5971 #16 0x0828d026 in dispatch_command (command=COM_QUERY, thd=0xa9a76d48, packet=0xa9a69ad1 "SHOW STATUS", packet_length=11) at sql_parse.cc:1090 #17 0x0828e28e in do_command (thd=0xa9a76d48) at sql_parse.cc:774 #18 0x0827c08c in do_handle_one_connection (thd_arg=0xa9a76d48) at sql_connect.cc:1173 #19 0x0827c13d in handle_one_connection (arg=0xa9a76d48) at sql_connect.cc:1113 #20 0x0089a45b in start_thread () from /lib/libpthread.so.0 #21 0x007f1c4e in clone () from /lib/libc.so.6 Thread 6 (process 29358): #0 0x0092a402 in __kernel_vsyscall () #1 0x008a0a3e in __lll_mutex_lock_wait () from /lib/libpthread.so.0 #2 0x0089c8c0 in _L_mutex_lock_897 () from /lib/libpthread.so.0 #3 0x0089c83c in pthread_mutex_lock () from /lib/libpthread.so.0 #4 0x08626947 in safe_mutex_lock (mp=0x895b740, my_flags=0, file=0x87b8f48 "sql_show.cc", line=6114) at thr_mutex.c:228 #5 0x08401e2b in inline_mysql_mutex_lock (that=0x895b740, flags=0, src_file=0x87b8f48 "sql_show.cc", src_line=6114) at ../include/mysql/psi/mysql_thread.h:553 #6 0x0840fc2b in fill_status (thd=0xa9a4c290, tables=0xa9301370, cond=0xa93018d0) at sql_show.cc:6114 #7 0x0840309b in get_schema_tables_result (join=0xa9330d40, executed_place=PROCESSED_BY_JOIN_EXEC) at sql_show.cc:6794 #8 0x08327a91 in JOIN::exec (this=0xa9330d40) at sql_select.cc:2456 #9 0x08223ad6 in subselect_single_select_engine::exec (this=0xa9301a68) at item_subselect.cc:2321 #10 0x08227ffc in Item_subselect::exec (this=0xa93019c8) at item_subselect.cc:283 #11 0x08220da1 in Item_singlerow_subselect::val_real (this=0xa93019c8) at item_subselect.cc:623 ---Type to continue, or q to quit--- #12 0x081b4cfa in Item::val_result (this=0xa93019c8) at ../item.h:755 #13 0x081a10b2 in Item_cache_real::cache_value (this=0xa930fe00) at item.cc:7444 #14 0x081a224a in Item_cache_real::val_real (this=0xa930fe00) at item.cc:7453 #15 0x081e1352 in Arg_comparator::compare_real (this=0xa9301b0c) at item_cmpfunc.cc:1354 #16 0x081c6075 in Arg_comparator::compare (this=0xa9301b0c) at item_cmpfunc.h:84 #17 0x081e5a67 in Item_func_gt::val_int (this=0xa9301a90) at item_cmpfunc.cc:1960 #18 0x081c9456 in eval_const_cond (cond=0xa9301a90) at item_func.cc:65 #19 0x08308cce in internal_remove_eq_conds (thd=0xa9a4c290, cond=0xa9301a90, cond_value=0xa97b12f0) at sql_select.cc:13776 #20 0x083088f5 in internal_remove_eq_conds (thd=0xa9a4c290, cond=0xb0716c0, cond_value=0xa932bdf0) at sql_select.cc:13686 #21 0x08308fdf in remove_eq_conds (thd=0xa9a4c290, cond=0xb0716c0, cond_value=0xa932bdf0) at sql_select.cc:13867 #22 0x08318831 in optimize_cond (join=0xa93270b0, conds=0xb0716c0, join_list=0xa9a4d7a0, build_equalities=true, cond_value=0xa932bdf0) at sql_select.cc:13645 #23 0x0831f930 in JOIN::optimize (this=0xa93270b0) at sql_select.cc:1491 #24 0x08323fc5 in mysql_select (thd=0xa9a4c290, rref_pointer_array=0xa9a4d7e0, tables=0xb070500, wild_num=0, fields=@0xa9a4d770, conds=0xb0716c0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2685143552, result=0xb070468, unit=0xa9a4d214, select_lex=0xa9a4d6dc) at sql_select.cc:3123 #25 0x0832991c in handle_select (thd=0xa9a4c290, lex=0xa9a4d1b8, result=0xb070468, setup_tables_done_option=0) at sql_select.cc:304 #26 0x082826a2 in execute_sqlcom_select (thd=0xa9a4c290, all_tables=0xb070500) at sql_parse.cc:4940 #27 0x0828364c in mysql_execute_command (thd=0xa9a4c290) at sql_parse.cc:2165 #28 0x0828bcf1 in mysql_parse (thd=0xa9a4c290, inBuf=0xb06ffd0 "SELECT MIN(id) INTO @kill_id FROM information_schema.processlist WHERE id > CONNECTION_ID() AND (INFO LIKE CONCAT('%',TRIM(' testdb_S '),'%') OR INFO LIKE CONCAT('%',TRIM(' testdb_N '),'%')) AND 10 + "..., length=356, found_semicolon=0xa97b2e58) at sql_parse.cc:5971 #29 0x0828d026 in dispatch_command (command=COM_QUERY, thd=0xa9a4c290, packet=0xa9a4e039 "SELECT MIN(id) INTO @kill_id FROM information_schema.processlist WHERE id > CONNECTION_ID() AND (INFO LIKE CONCAT('%',TRIM(' testdb_S '),'%') OR INFO LIKE CONCAT('%',TRIM(' testdb_N '),'%')) AND 10 + "..., packet_length=357) at sql_parse.cc:1090 #30 0x0828e28e in do_command (thd=0xa9a4c290) at sql_parse.cc:774 #31 0x0827c08c in do_handle_one_connection (thd_arg=0xa9a4c290) at sql_connect.cc:1173 #32 0x0827c13d in handle_one_connection (arg=0xa9a4c290) at sql_connect.cc:1113 #33 0x0089a45b in start_thread () from /lib/libpthread.so.0 #34 0x007f1c4e in clone () from /lib/libc.so.6 Thread 5 (process 29363): #0 0x0092a402 in __kernel_vsyscall () #1 0x008a0a3e in __lll_mutex_lock_wait () from /lib/libpthread.so.0 #2 0x0089c8c0 in _L_mutex_lock_897 () from /lib/libpthread.so.0 #3 0x0089c83c in pthread_mutex_lock () from /lib/libpthread.so.0 #4 0x08626947 in safe_mutex_lock (mp=0x896ec40, my_flags=0, file=0x878888a "sys_vars.cc", line=636) at thr_mutex.c:228 #5 0x082c11dd in inline_mysql_mutex_lock (that=0x896ec40, flags=0, src_file=0x878888a "sys_vars.cc", src_line=636) at ../include/mysql/psi/mysql_thread.h:553 #6 0x082cfb6b in event_scheduler_update (self=0x895e100, thd=0xa9a9abc8, type=OPT_GLOBAL) at sys_vars.cc:636 #7 0x0828fb6d in sys_var::update (this=0x895e100, thd=0xa9a9abc8, var=0xb060ad0) at set_var.cc:173 #8 0x08291434 in set_var::update (this=0xb060ad0, thd=0xa9a9abc8) at set_var.cc:640 #9 0x082902ef in sql_set_variables (thd=0xa9a9abc8, var_list=0xa9a9c300) at set_var.cc:544 #10 0x08287227 in mysql_execute_command (thd=0xa9a9abc8) at sql_parse.cc:3531 #11 0x0828bcf1 in mysql_parse (thd=0xa9a9abc8, inBuf=0xb060990 "SET GLOBAL EVENT_SCHEDULER = OFF", length=32, found_semicolon=0xa9b90e58) at sql_parse.cc:5971 ---Type to continue, or q to quit--- #12 0x0828d026 in dispatch_command (command=COM_QUERY, thd=0xa9a9abc8, packet=0xa9a5fa01 "SET GLOBAL EVENT_SCHEDULER = OFF", packet_length=32) at sql_parse.cc:1090 #13 0x0828e28e in do_command (thd=0xa9a9abc8) at sql_parse.cc:774 #14 0x0827c08c in do_handle_one_connection (thd_arg=0xa9a9abc8) at sql_connect.cc:1173 #15 0x0827c13d in handle_one_connection (arg=0xa9a9abc8) at sql_connect.cc:1113 #16 0x0089a45b in start_thread () from /lib/libpthread.so.0 #17 0x007f1c4e in clone () from /lib/libc.so.6 Thread 4 (process 29364): #0 0x0092a402 in __kernel_vsyscall () #1 0x008a0a3e in __lll_mutex_lock_wait () from /lib/libpthread.so.0 #2 0x0089c8c0 in _L_mutex_lock_897 () from /lib/libpthread.so.0 #3 0x0089c83c in pthread_mutex_lock () from /lib/libpthread.so.0 #4 0x08626947 in safe_mutex_lock (mp=0x895b740, my_flags=0, file=0x87b8f48 "sql_show.cc", line=6114) at thr_mutex.c:228 #5 0x08401e2b in inline_mysql_mutex_lock (that=0x895b740, flags=0, src_file=0x87b8f48 "sql_show.cc", src_line=6114) at ../include/mysql/psi/mysql_thread.h:553 #6 0x0840fc2b in fill_status (thd=0xa9a02d90, tables=0xb2a1d60, cond=0xb2a22c0) at sql_show.cc:6114 #7 0x0840309b in get_schema_tables_result (join=0xb21a340, executed_place=PROCESSED_BY_JOIN_EXEC) at sql_show.cc:6794 #8 0x08327a91 in JOIN::exec (this=0xb21a340) at sql_select.cc:2456 #9 0x08223ad6 in subselect_single_select_engine::exec (this=0xb2a2458) at item_subselect.cc:2321 #10 0x08227ffc in Item_subselect::exec (this=0xb2a23b8) at item_subselect.cc:283 #11 0x08220da1 in Item_singlerow_subselect::val_real (this=0xb2a23b8) at item_subselect.cc:623 #12 0x081b4cfa in Item::val_result (this=0xb2a23b8) at ../item.h:755 #13 0x081a10b2 in Item_cache_real::cache_value (this=0xaef6f30) at item.cc:7444 #14 0x081a224a in Item_cache_real::val_real (this=0xaef6f30) at item.cc:7453 #15 0x081e1352 in Arg_comparator::compare_real (this=0xb2a24fc) at item_cmpfunc.cc:1354 #16 0x081c6075 in Arg_comparator::compare (this=0xb2a24fc) at item_cmpfunc.h:84 #17 0x081e5a67 in Item_func_gt::val_int (this=0xb2a2480) at item_cmpfunc.cc:1960 #18 0x081c9456 in eval_const_cond (cond=0xb2a2480) at item_func.cc:65 #19 0x08308cce in internal_remove_eq_conds (thd=0xa9a02d90, cond=0xb2a2480, cond_value=0xa99392f0) at sql_select.cc:13776 #20 0x083088f5 in internal_remove_eq_conds (thd=0xa9a02d90, cond=0xaf194e8, cond_value=0xb208130) at sql_select.cc:13686 #21 0x08308fdf in remove_eq_conds (thd=0xa9a02d90, cond=0xaf194e8, cond_value=0xb208130) at sql_select.cc:13867 #22 0x08318831 in optimize_cond (join=0xb2033f0, conds=0xaf194e8, join_list=0xa9a042a0, build_equalities=true, cond_value=0xb208130) at sql_select.cc:13645 #23 0x0831f930 in JOIN::optimize (this=0xb2033f0) at sql_select.cc:1491 #24 0x08323fc5 in mysql_select (thd=0xa9a02d90, rref_pointer_array=0xa9a042e0, tables=0xaf18328, wild_num=0, fields=@0xa9a04270, conds=0xaf194e8, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2685143552, result=0xaf18290, unit=0xa9a03d14, select_lex=0xa9a041dc) at sql_select.cc:3123 #25 0x0832991c in handle_select (thd=0xa9a02d90, lex=0xa9a03cb8, result=0xaf18290, setup_tables_done_option=0) at sql_select.cc:304 #26 0x082826a2 in execute_sqlcom_select (thd=0xa9a02d90, all_tables=0xaf18328) at sql_parse.cc:4940 #27 0x0828364c in mysql_execute_command (thd=0xa9a02d90) at sql_parse.cc:2165 #28 0x0828bcf1 in mysql_parse (thd=0xa9a02d90, inBuf=0xaf17df8 "SELECT MAX(id) INTO @kill_id FROM information_schema.processlist WHERE id < CONNECTION_ID() AND (INFO LIKE CONCAT('%',TRIM(' testdb_S '),'%') OR INFO LIKE CONCAT('%',TRIM(' testdb_N '),'%')) AND 10 + "..., length=356, found_semicolon=0xa993ae58) at sql_parse.cc:5971 #29 0x0828d026 in dispatch_command (command=COM_QUERY, thd=0xa9a02d90, packet=0xa9a82d09 "SELECT MAX(id) INTO @kill_id FROM information_schema.processlist WHERE id < CONNECTION_ID() AND (INFO LIKE CONCAT('%',TRIM(' testdb_S '---Type to continue, or q to quit--- ),'%') OR INFO LIKE CONCAT('%',TRIM(' testdb_N '),'%')) AND 10 + "..., packet_length=357) at sql_parse.cc:1090 #30 0x0828e28e in do_command (thd=0xa9a02d90) at sql_parse.cc:774 #31 0x0827c08c in do_handle_one_connection (thd_arg=0xa9a02d90) at sql_connect.cc:1173 #32 0x0827c13d in handle_one_connection (arg=0xa9a02d90) at sql_connect.cc:1113 #33 0x0089a45b in start_thread () from /lib/libpthread.so.0 #34 0x007f1c4e in clone () from /lib/libc.so.6 Thread 3 (process 29365): #0 0x0092a402 in __kernel_vsyscall () #1 0x008a0a3e in __lll_mutex_lock_wait () from /lib/libpthread.so.0 #2 0x0089c8c0 in _L_mutex_lock_897 () from /lib/libpthread.so.0 #3 0x0089c83c in pthread_mutex_lock () from /lib/libpthread.so.0 #4 0x08626947 in safe_mutex_lock (mp=0x895bac0, my_flags=0, file=0x872cbdf "sql_class.cc", line=899) at thr_mutex.c:228 #5 0x08255db9 in inline_mysql_mutex_lock (that=0x895bac0, flags=0, src_file=0x872cbdf "sql_class.cc", src_line=899) at ../include/mysql/psi/mysql_thread.h:553 #6 0x0825c094 in THD::init (this=0xb02ad90) at sql_class.cc:899 #7 0x0825d3c3 in THD (this=0xb02ad90) at sql_class.cc:565 #8 0x08474e10 in Event_scheduler::start (this=0xae112b8) at event_scheduler.cc:394 #9 0x0847d5f5 in Events::start () at events.cc:1020 #10 0x082cfb0d in event_scheduler_update (self=0x895e100, thd=0xa9a382d8, type=OPT_GLOBAL) at sys_vars.cc:633 #11 0x0828fb6d in sys_var::update (this=0x895e100, thd=0xa9a382d8, var=0xb05ea78) at set_var.cc:173 #12 0x08291434 in set_var::update (this=0xb05ea78, thd=0xa9a382d8) at set_var.cc:640 #13 0x082902ef in sql_set_variables (thd=0xa9a382d8, var_list=0xa9a39a10) at set_var.cc:544 #14 0x08287227 in mysql_execute_command (thd=0xa9a382d8) at sql_parse.cc:3531 #15 0x0828bcf1 in mysql_parse (thd=0xa9a382d8, inBuf=0xb05e978 "SET GLOBAL EVENT_SCHEDULER = ON", length=31, found_semicolon=0xa9bc1e58) at sql_parse.cc:5971 #16 0x0828d026 in dispatch_command (command=COM_QUERY, thd=0xa9a382d8, packet=0xa9a54009 "SET GLOBAL EVENT_SCHEDULER = ON", packet_length=31) at sql_parse.cc:1090 #17 0x0828e28e in do_command (thd=0xa9a382d8) at sql_parse.cc:774 #18 0x0827c08c in do_handle_one_connection (thd_arg=0xa9a382d8) at sql_connect.cc:1173 #19 0x0827c13d in handle_one_connection (arg=0xa9a382d8) at sql_connect.cc:1113 #20 0x0089a45b in start_thread () from /lib/libpthread.so.0 #21 0x007f1c4e in clone () from /lib/libc.so.6 Thread 2 (process 29366): #0 0x0092a402 in __kernel_vsyscall () #1 0x008a0a3e in __lll_mutex_lock_wait () from /lib/libpthread.so.0 #2 0x0089c8c0 in _L_mutex_lock_897 () from /lib/libpthread.so.0 #3 0x0089c83c in pthread_mutex_lock () from /lib/libpthread.so.0 #4 0x08626947 in safe_mutex_lock (mp=0x895bac0, my_flags=0, file=0x8738a31 "sql_connect.cc", line=334) at thr_mutex.c:228 #5 0x08279a45 in inline_mysql_mutex_lock (that=0x895bac0, flags=0, src_file=0x8738a31 "sql_connect.cc", src_line=334) at ../include/mysql/psi/mysql_thread.h:553 #6 0x0827a74b in check_user (thd=0xa9a2a2d8, command=COM_CONNECT, passwd=0xa9abb196 "test", passwd_len=0, db=0xa9845dae "test", check_count=true) at sql_connect.cc:334 #7 0x0827be17 in check_connection (thd=0xa9a2a2d8) at sql_connect.cc:924 #8 0x0827bebf in login_connection (thd=0xa9a2a2d8) at sql_connect.cc:982 ---Type to continue, or q to quit--- #9 0x0827c068 in do_handle_one_connection (thd_arg=0xa9a2a2d8) at sql_connect.cc:1161 #10 0x0827c13d in handle_one_connection (arg=0xa9a2a2d8) at sql_connect.cc:1113 #11 0x0089a45b in start_thread () from /lib/libpthread.so.0 #12 0x007f1c4e in clone () from /lib/libc.so.6 Thread 1 (process 26084): #0 0x0092a402 in __kernel_vsyscall () #1 0x0089f067 in pthread_kill () from /lib/libpthread.so.0 #2 0x08621b76 in my_write_core (sig=11) at stacktrace.c:328 #3 0x08272b21 in handle_segfault (sig=11) at mysqld.cc:2815 #4 #5 0x0092a402 in __kernel_vsyscall () #6 0x008a0a3e in __lll_mutex_lock_wait () from /lib/libpthread.so.0 #7 0x0089c8c0 in _L_mutex_lock_897 () from /lib/libpthread.so.0 #8 0x0089c83c in pthread_mutex_lock () from /lib/libpthread.so.0 #9 0x08626947 in safe_mutex_lock (mp=0x895bac0, my_flags=0, file=0x872cbdf "sql_class.cc", line=899) at thr_mutex.c:228 #10 0x08255db9 in inline_mysql_mutex_lock (that=0x895bac0, flags=0, src_file=0x872cbdf "sql_class.cc", src_line=899) at ../include/mysql/psi/mysql_thread.h:553 #11 0x0825c094 in THD::init (this=0xa9a5dab8) at sql_class.cc:899 #12 0x0825d3c3 in THD (this=0xa9a5dab8) at sql_class.cc:565 #13 0x082735ed in handle_connections_sockets () at mysqld.cc:5707 #14 0x08276b7e in main (argc=46, argv=0xa6fc998) at mysqld.cc:5065