From 2b253ed41fb606de3c6d8573f95f69ae2faf18d3 Mon Sep 17 00:00:00 2001 From: Sergey Vojtovich Date: Wed, 17 Jun 2015 12:37:19 +0400 Subject: MDEV-8324 - MariaDB fails to build with performance schema disabled Various fixes to let MariaDB compile with performance schema disabled. --- storage/innobase/include/sync0rw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'storage/innobase/include/sync0rw.h') 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 */ /**************************************************************//** -- cgit v1.2.1