1
0
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:
Oleksandr Byelkin
2016-04-15 20:40:25 +02:00
parent 468a6ad722
commit e7608a78ef
28 changed files with 928 additions and 46 deletions

View File

@ -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.