summaryrefslogtreecommitdiff
path: root/storage/innobase/include/sync0rw.h
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2015-06-17 12:37:19 +0400
committerSergey Vojtovich <svoj@mariadb.org>2015-06-19 15:06:33 +0400
commit2b253ed41fb606de3c6d8573f95f69ae2faf18d3 (patch)
tree6ccb70b256f9beb068758cfaff6f1585f01d3dab /storage/innobase/include/sync0rw.h
parent366cda49370eedb50dbb53ee53d3cd907c59e76d (diff)
downloadmariadb-git-2b253ed41fb606de3c6d8573f95f69ae2faf18d3.tar.gz
MDEV-8324 - MariaDB fails to build with performance schema disabled
Various fixes to let MariaDB compile with performance schema disabled.
Diffstat (limited to 'storage/innobase/include/sync0rw.h')
-rw-r--r--storage/innobase/include/sync0rw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/include/sync0rw.h b/storage/innobase/include/sync0rw.h
index cfd9776959f..d212ac17871 100644
--- a/storage/innobase/include/sync0rw.h
+++ b/storage/innobase/include/sync0rw.h
@@ -162,7 +162,7 @@ defined, the rwlock are instrumented with performance schema probes. */
# endif/* UNIV_SYNC_DEBUG */
# else /* UNIV_DEBUG */
# define rw_lock_create(K, L, level) \
- rw_lock_create_func((L), __FILE__, __LINE__)
+ rw_lock_create_func((L), #L, __FILE__, __LINE__)
# endif /* UNIV_DEBUG */
/**************************************************************//**