MySQL 8.3.0
Source Code Documentation
mysql_routing_common.cc File Reference
#include <string.h>
#include "mysql_routing_common.h"

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")