mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-8931: (server part of) session state tracking
initial commit to test
This commit is contained in:
@ -45,6 +45,7 @@
|
||||
#include <mysql/psi/mysql_idle.h>
|
||||
#include <mysql/psi/mysql_table.h>
|
||||
#include <mysql_com_server.h>
|
||||
#include "session_tracker.h"
|
||||
|
||||
extern "C"
|
||||
void set_thd_stage_info(void *thd,
|
||||
@ -688,6 +689,8 @@ typedef struct system_variables
|
||||
|
||||
my_bool pseudo_slave_mode;
|
||||
|
||||
my_bool session_track_schema;
|
||||
my_bool session_track_state_change;
|
||||
} SV;
|
||||
|
||||
/**
|
||||
@ -4054,6 +4057,7 @@ private:
|
||||
LEX_STRING invoker_host;
|
||||
|
||||
public:
|
||||
Session_tracker session_tracker;
|
||||
/*
|
||||
Flag, mutex and condition for a thread to wait for a signal from another
|
||||
thread.
|
||||
|
Reference in New Issue
Block a user