summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2016-02-12 12:04:11 +0400
committerAlexey Botchkov <holyfoot@askmonty.org>2016-02-12 12:04:11 +0400
commit93e9d81efa7ed1f66b08da73962c83b8fefd8d21 (patch)
tree27a2208759692dcb2d5221e9c424b77911aeb55b /plugin
parenta9a08b1e2f5b7a9e3ab7c7f75c768389b1d8238f (diff)
downloadmariadb-git-93e9d81efa7ed1f66b08da73962c83b8fefd8d21.tar.gz
Errorneous PSI declaration line fixed.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/server_audit/server_audit.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/plugin/server_audit/server_audit.c b/plugin/server_audit/server_audit.c
index d988f7e8317..49a24f6c5b8 100644
--- a/plugin/server_audit/server_audit.c
+++ b/plugin/server_audit/server_audit.c
@@ -537,10 +537,14 @@ static struct st_mysql_show_var audit_status[]=
#if defined(HAVE_PSI_INTERFACE) && !defined(FLOGGER_NO_PSI)
/* These belong to the service initialization */
static PSI_mutex_key key_LOCK_operations;
+static PSI_mutex_key key_LOCK_bigbuffer;
static PSI_mutex_info mutex_key_list[]=
-{{ &key_LOCK_operations, "SERVER_AUDIT_plugin::lock_operations",
-{{ &key_LOCK_bigbuffer, "SERVER_AUDIT_plugin::lock_bigbuffer",
- PSI_FLAG_GLOBAL}};
+{
+ { &key_LOCK_operations, "SERVER_AUDIT_plugin::lock_operations",
+ PSI_FLAG_GLOBAL},
+ { &key_LOCK_bigbuffer, "SERVER_AUDIT_plugin::lock_bigbuffer",
+ PSI_FLAG_GLOBAL}
+};
#endif
static mysql_mutex_t lock_operations;
static mysql_mutex_t lock_bigbuffer;