Commit 131ed6c2 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

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

parent 342d3df6
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment