MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / set_command

Method set_command

sql/sql_class.cc:2071–2077  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2069}
2070
2071void THD::set_command(enum enum_server_command command)
2072{
2073 m_command= command;
2074#ifdef HAVE_PSI_THREAD_INTERFACE
2075 PSI_STATEMENT_CALL(set_thread_command)(m_command);
2076#endif
2077}
2078
2079
2080/** Assign a new value to thd->query. */

Callers 1

dispatch_commandFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected