summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-03-24 18:56:31 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2021-03-24 18:56:31 +0200
commitb5cea823d7b9c8ecbb87cad8b2d9c35677885a16 (patch)
tree5c5c167f6fe216f9b114a9ce749e7bc80e76d214
parent1274bb772914dbd2c52411d257fce88f1e36395d (diff)
downloadmariadb-git-b5cea823d7b9c8ecbb87cad8b2d9c35677885a16.tar.gz
MDEV-21452 fixup: Correct a comment
-rw-r--r--storage/innobase/srv/srv0srv.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/srv/srv0srv.cc b/storage/innobase/srv/srv0srv.cc
index 91e41390b3b..b71b05d4982 100644
--- a/storage/innobase/srv/srv0srv.cc
+++ b/storage/innobase/srv/srv0srv.cc
@@ -187,7 +187,7 @@ mutex before switching to blocking wait on the mutex */
/** Check whether the number of failed nonblocking mutex
acquisition attempts exceeds maximum allowed value. If so,
srv_printf_innodb_monitor() will request mutex acquisition
-with mutex_enter(), which will wait until it gets the mutex. */
+with mysql_mutex_lock(), which will wait until it gets the mutex. */
#define MUTEX_NOWAIT(mutex_skipped) ((mutex_skipped) < MAX_MUTEX_NOWAIT)
/** copy of innodb_buffer_pool_size */