MySQL 8.0.39
Source Code Documentation
mysql_routing_common.h File Reference
#include <string>

Go to the source code of this file.

Functions

std::string get_routing_thread_name (const std::string &config_name, const std::string &prefix)
 return a short string suitable to be used as a thread name More...
 

Function Documentation

◆ get_routing_thread_name()

std::string get_routing_thread_name ( const std::string &  config_name,
const std::string &  prefix 
)

return a short string suitable to be used as a thread name

Parameters
config_nameconfiguration name (e.g: "routing", "routing:test_default_x_ro", etc)
prefixthread name prefix (e.g. "RtS")
Returns
a short string (example: "RtS:x_ro")