summaryrefslogtreecommitdiff
path: root/storage/xtradb/include/sync0sync.ic
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mnogosearch.org>2014-02-27 19:44:00 +0400
committerAlexander Barkov <bar@mnogosearch.org>2014-02-27 19:44:00 +0400
commit57cdc561fc2b97c3d1d2b318fc0fa2410568c3d6 (patch)
tree8d61425ec6fed1b66faa46c1ad7ac1bc080df71e /storage/xtradb/include/sync0sync.ic
parent11826b1bcfc2280e36a72c1516443c9b400edec2 (diff)
downloadmariadb-git-57cdc561fc2b97c3d1d2b318fc0fa2410568c3d6.tar.gz
Fixing AIX compilation failires
Diffstat (limited to 'storage/xtradb/include/sync0sync.ic')
-rw-r--r--storage/xtradb/include/sync0sync.ic8
1 files changed, 4 insertions, 4 deletions
diff --git a/storage/xtradb/include/sync0sync.ic b/storage/xtradb/include/sync0sync.ic
index 396005ec83a..d403f2d95ba 100644
--- a/storage/xtradb/include/sync0sync.ic
+++ b/storage/xtradb/include/sync0sync.ic
@@ -278,8 +278,8 @@ directly. Locks a priority mutex for the current thread. If the mutex is
reserved the function spins a preset time (controlled by SYNC_SPIN_ROUNDS)
waiting for the mutex before suspending the thread. If the thread is suspended,
the priority argument value determines the relative order for its wake up. Any
-HIGH_PRIO waiters will be woken up before any LOW_PRIO waiters. In case of
-DEFAULT_PRIO, the relative priority will be set according to
+IB_HIGH_PRIO waiters will be woken up before any IB_LOW_PRIO waiters. In case
+of IB_DEFAULT_PRIO, the relative priority will be set according to
srv_current_thread_priority. */
UNIV_INLINE
void
@@ -309,10 +309,10 @@ mutex_enter_func(
return; /* Succeeded! */
}
- if (UNIV_LIKELY(priority == DEFAULT_PRIO)) {
+ if (UNIV_LIKELY(priority == IB_DEFAULT_PRIO)) {
high_priority = srv_current_thread_priority;
} else {
- high_priority = (priority == HIGH_PRIO);
+ high_priority = (priority == IB_HIGH_PRIO);
}
mutex_spin_wait(mutex, high_priority, file_name, line);
}