1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-15743 Avoid a PFS warning by shortening key name for proxy protocol rwlock

This commit is contained in:
Vladislav Vaintroub
2018-04-02 22:49:32 +02:00
parent 342d3df6b1
commit 131ed6c273

View File

@ -568,7 +568,7 @@ int init_proxy_protocol_networks(const char *spec)
#ifdef HAVE_PSI_INTERFACE
static PSI_rwlock_key psi_rwlock_key;
static PSI_rwlock_info psi_rwlock_info={ &psi_rwlock_key, "rwlock", 0 };
mysql_rwlock_register("proxy_protocol", &psi_rwlock_info, 1);
mysql_rwlock_register("proxy_proto", &psi_rwlock_info, 1);
#endif
mysql_rwlock_init(psi_rwlock_key, &lock);