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

@ -30,6 +30,8 @@ class THD;
class Time_zone;
struct TABLE;
void init_scheduler_psi_keys(void);
class Event_queue_element_for_exec
{
public:
@ -48,6 +50,15 @@ private:
/* Prevent use of these */
Event_queue_element_for_exec(const Event_queue_element_for_exec &);
void operator=(Event_queue_element_for_exec &);
#ifdef HAVE_PSI_INTERFACE
public:
PSI_statement_info* get_psi_info()
{
return & psi_info;
}
static PSI_statement_info psi_info;
#endif
};