summaryrefslogtreecommitdiff
path: root/sql/scheduler.cc
diff options
context:
space:
mode:
authorMikael Ronström <mikael@dator9>2011-02-10 19:38:36 +0100
committerMikael Ronström <mikael@dator9>2011-02-10 19:38:36 +0100
commit1d6945a017aaea79cbd5657e7e2f9d5359af23a5 (patch)
tree8f01a3de60deeaf55cb712304965552440715256 /sql/scheduler.cc
parentb173e14937ecf0976e0bdc63b22276bd09e03f90 (diff)
downloadmariadb-git-1d6945a017aaea79cbd5657e7e2f9d5359af23a5.tar.gz
more fixes of scheduler interface changes
Diffstat (limited to 'sql/scheduler.cc')
-rw-r--r--sql/scheduler.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/sql/scheduler.cc b/sql/scheduler.cc
index d9a98f37e39..328ad45b4b8 100644
--- a/sql/scheduler.cc
+++ b/sql/scheduler.cc
@@ -149,10 +149,6 @@ void one_thread_scheduler()
thd_scheduler::thd_scheduler()
: m_psi(NULL), data(NULL)
{
-#ifndef DBUG_OFF
- dbug_explain[0]= '\0';
- set_explain= FALSE;
-#endif
}
@@ -160,16 +156,6 @@ thd_scheduler::~thd_scheduler()
{
}
-void* thd_get_scheduler(THD *thd)
-{
- return thd->scheduler.data;
-}
-
-PSI_thread* thd_get_psi(THD *thd)
-{
- return thd->scheduler.m_psi;
-}
-
static scheduler_functions *saved_thread_scheduler;
static uint saved_thread_handling;