summaryrefslogtreecommitdiff
path: root/innobase/include/sync0ipm.ic
diff options
context:
space:
mode:
Diffstat (limited to 'innobase/include/sync0ipm.ic')
-rw-r--r--innobase/include/sync0ipm.ic4
1 files changed, 2 insertions, 2 deletions
diff --git a/innobase/include/sync0ipm.ic b/innobase/include/sync0ipm.ic
index 8487830e1dd..b8aa87ba6d6 100644
--- a/innobase/include/sync0ipm.ic
+++ b/innobase/include/sync0ipm.ic
@@ -92,7 +92,7 @@ loop:
loop_count++;
ut_ad(loop_count < 15);
- if (mutex_enter_nowait(mutex) == 0) {
+ if (mutex_enter_nowait(mutex, IB__FILE__, __LINE__) == 0) {
/* Succeeded! */
return(0);
@@ -105,7 +105,7 @@ loop:
/* Order is important here: FIRST reset event, then set waiters */
ip_mutex_set_waiters(ip_mutex, 1);
- if (mutex_enter_nowait(mutex) == 0) {
+ if (mutex_enter_nowait(mutex, IB__FILE__, __LINE__) == 0) {
/* Succeeded! */
return(0);