Skip to content

Instantly share code, notes, and snippets.

@yoku0825
Created June 14, 2020 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yoku0825/a10fcd04e975ce61ef053f69b8fc364a to your computer and use it in GitHub Desktop.
Save yoku0825/a10fcd04e975ce61ef053f69b8fc364a to your computer and use it in GitHub Desktop.
mysql_execute_commandあたりから読むのが良いかもですね
(gdb) bt
+bt
#0 mysql_execute_command(THD*, bool) () at /home/yoku0825/mysql-8.0.20/sql/sql_parse.cc:2634
#1 0x0000000000eb8378 in mysql_parse (thd=thd@entry=0x7f8f400101d0, parser_state=parser_state@entry=0x7f8f97f6e4d0)
at /home/yoku0825/mysql-8.0.20/sql/sql_parse.cc:5306
#2 0x0000000000eba4d5 in dispatch_command(THD*, COM_DATA const*, enum_server_command) ()
at /home/yoku0825/mysql-8.0.20/sql/sql_parse.cc:1776
#3 0x0000000000ebb314 in do_command (thd=thd@entry=0x7f8f400101d0) at /home/yoku0825/mysql-8.0.20/sql/sql_parse.cc:1274
#4 0x0000000000fccc70 in handle_connection (arg=arg@entry=0x751fc50)
at /home/yoku0825/mysql-8.0.20/sql/conn_handler/connection_handler_per_thread.cc:302
#5 0x000000000244315c in pfs_spawn_thread (arg=0x568a070) at /home/yoku0825/mysql-8.0.20/storage/perfschema/pfs.cc:2854
#6 0x00007f8fa8fabea5 in start_thread (arg=0x7f8f97f6f700) at pthread_create.c:307
#7 0x00007f8fa71348dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment