Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
70136c0a
Commit
70136c0a
authored
Feb 10, 2011
by
Mikael Ronström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated thread_pool_priv.h with additional includes for thread pool plugins
parent
fbbe9c2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
include/mysql/thread_pool_priv.h
include/mysql/thread_pool_priv.h
+22
-0
No files found.
include/mysql/thread_pool_priv.h
View file @
70136c0a
...
@@ -18,6 +18,28 @@
...
@@ -18,6 +18,28 @@
#ifndef THREAD_POOL_PRIV_INCLUDED
#ifndef THREAD_POOL_PRIV_INCLUDED
#define THREAD_POOL_PRIV_INCLUDED
#define THREAD_POOL_PRIV_INCLUDED
/*
A thread pool plugins requires inclusion of sql_class.h to get proper
access to THD variables and functions.
There are some DTrace probes that requires definition inside the plugin,
this requires include of probes_mysql.h.
scheduler.h contains definitions required by the plugin.
A thread pool can also use DEBUG_SYNC and must thus include
debug_sync.h
To handle definitions of Information Schema plugins it is also required
to include sql_profile.h and table.h.
The goal is to move all dependencies from a thread pool plugin on the
MySQL Server into a version-handled plugin API.
*/
#define MYSQL_SERVER 1
#include <sql_class.h>
#include <probes_mysql.h>
#include <scheduler.h>
#include <debug_sync.h>
#include <sql_profile.h>
#include <table.h>
/*
/*
The thread pool must be able to execute commands using the connection
The thread pool must be able to execute commands using the connection
state in THD object. This is the main objective of the thread pool to
state in THD object. This is the main objective of the thread pool to
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment