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:
@ -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
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user