summaryrefslogtreecommitdiff
path: root/sql/event_scheduler.h
diff options
context:
space:
mode:
authorMarc Alff <marc.alff@sun.com>2010-01-06 22:42:07 -0700
committerMarc Alff <marc.alff@sun.com>2010-01-06 22:42:07 -0700
commita4c3bc618bb83884a19dc157bc56d4e3d2432c22 (patch)
treeea8cbc9d70015a17aad75df30e7d223476eaa4da /sql/event_scheduler.h
parentb2b055034c065307fca4dc04d00ce0c139b44808 (diff)
downloadmariadb-git-a4c3bc618bb83884a19dc157bc56d4e3d2432c22.tar.gz
WL#2360 Performance schema
Part IV: sql instrumentation
Diffstat (limited to 'sql/event_scheduler.h')
-rw-r--r--sql/event_scheduler.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/event_scheduler.h b/sql/event_scheduler.h
index 0be93a65d33..2988f354f63 100644
--- a/sql/event_scheduler.h
+++ b/sql/event_scheduler.h
@@ -1,6 +1,6 @@
#ifndef _EVENT_SCHEDULER_H_
#define _EVENT_SCHEDULER_H_
-/* Copyright (C) 2004-2006 MySQL AB
+/* Copyright (C) 2004-2006 MySQL AB, 2008-2009 Sun Microsystems, Inc
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -115,7 +115,7 @@ private:
cond_wait(THD *thd, struct timespec *abstime, const char* msg,
const char *func, uint line);
- pthread_mutex_t LOCK_scheduler_state;
+ mysql_mutex_t LOCK_scheduler_state;
enum enum_state
{
@@ -129,7 +129,7 @@ private:
THD *scheduler_thd;
- pthread_cond_t COND_state;
+ mysql_cond_t COND_state;
Event_queue *queue;