mirror of
https://github.com/MariaDB/server.git
synced 2025-08-09 22:24:09 +03:00
mysql-5.7.39
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* Copyright (c) 2008, 2021, Oracle and/or its affiliates.
|
||||
/* Copyright (c) 2008, 2022, Oracle and/or its affiliates.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License, version 2.0,
|
||||
@@ -1320,6 +1320,13 @@ static inline void inline_mysql_thread_set_psi_THD(THD *thd)
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
static inline void mysql_thread_set_peer_port(uint port MY_ATTRIBUTE ((unused))) {
|
||||
#ifdef HAVE_PSI_THREAD_INTERFACE
|
||||
struct PSI_thread *psi = PSI_THREAD_CALL(get_thread)();
|
||||
PSI_THREAD_CALL(set_thread_peer_port)(psi, port);
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* DISABLE_MYSQL_THREAD_H */
|
||||
|
Reference in New Issue
Block a user