1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

perfschema statement instrumentation related changes

This commit is contained in:
Sergei Golubchik
2020-02-14 17:05:31 +01:00
parent 70e7b5095d
commit d4605bc90f
10 changed files with 79 additions and 25 deletions

View File

@ -1911,7 +1911,7 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
com_statement_info[command].m_key,
thd->db.str, thd->db.length,
thd->charset(), NULL);
THD_STAGE_INFO(thd, stage_init);
THD_STAGE_INFO(thd, stage_starting);
MYSQL_SET_STATEMENT_TEXT(thd->m_statement_psi, beginning_of_next_stmt,
length);