summaryrefslogtreecommitdiff
path: root/sql/scheduler.cc
diff options
context:
space:
mode:
authorMikael Ronstrom <mikael@dator8>2011-03-04 13:12:31 +0100
committerMikael Ronstrom <mikael@dator8>2011-03-04 13:12:31 +0100
commitb14adc3921d3f2e30f858a31ae73ecdc65901e54 (patch)
treea7f5ebaca17d2031a07efaa3418357b9b756de46 /sql/scheduler.cc
parent5f24be65270c844ba705de9121a95b3bb048dcc3 (diff)
downloadmariadb-git-b14adc3921d3f2e30f858a31ae73ecdc65901e54.tar.gz
More review fixes
Diffstat (limited to 'sql/scheduler.cc')
-rw-r--r--sql/scheduler.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/scheduler.cc b/sql/scheduler.cc
index 328ad45b4b8..a3848e20be5 100644
--- a/sql/scheduler.cc
+++ b/sql/scheduler.cc
@@ -80,6 +80,8 @@ scheduler_functions *thread_scheduler= NULL;
*/
/**@{*/
+extern "C"
+{
static void scheduler_wait_lock_begin(void) {
MYSQL_CALLBACK(thread_scheduler,
thd_wait_begin, (current_thd, THD_WAIT_TABLE_LOCK));
@@ -97,6 +99,7 @@ static void scheduler_wait_sync_begin(void) {
static void scheduler_wait_sync_end(void) {
MYSQL_CALLBACK(thread_scheduler, thd_wait_end, (current_thd));
}
+};
/**@}*/
/**