MCPcopy Create free account
hub / github.com/arkdb/inception / mysql_reset_thd_for_next_command

Function mysql_reset_thd_for_next_command

sql/sql_parse.cc:2031–2034  ·  view source on GitHub ↗

Reset the part of THD responsible for the state of command processing. This needs to be called before execution of every statement (prepared or conventional). It is not called by substatements of routines. @todo Remove mysql_reset_thd_for_next_command and only use the member function. @todo Call it after we use THD for queries, not before. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 11

executeMethod · 0.85
mysql_parseFunction · 0.85
do_apply_eventMethod · 0.85
do_apply_eventMethod · 0.85
open_tableMethod · 0.85
mysqld_stmt_prepareFunction · 0.85
mysqld_stmt_executeFunction · 0.85
mysqld_stmt_fetchFunction · 0.85
mysqld_stmt_resetFunction · 0.85

Calls 1

Tested by

no test coverage detected