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:
@ -568,7 +568,7 @@ int init_proxy_protocol_networks(const char *spec)
|
|||||||
#ifdef HAVE_PSI_INTERFACE
|
#ifdef HAVE_PSI_INTERFACE
|
||||||
static PSI_rwlock_key psi_rwlock_key;
|
static PSI_rwlock_key psi_rwlock_key;
|
||||||
static PSI_rwlock_info psi_rwlock_info={ &psi_rwlock_key, "rwlock", 0 };
|
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
|
#endif
|
||||||
|
|
||||||
mysql_rwlock_init(psi_rwlock_key, &lock);
|
mysql_rwlock_init(psi_rwlock_key, &lock);
|
||||||
|
Reference in New Issue
Block a user