MySQL 8.4.2
Source Code Documentation
my_hostname.h File Reference

Common definition used by mysys, performance schema and server & client. More...

Go to the source code of this file.

Variables

static constexpr int HOSTNAME_LENGTH = 255
 
static constexpr int PORTNUMBER_LENGTH = 5
 
static constexpr int HOST_AND_PORT_LENGTH
 Length of "hostname:portnumber". More...
 

Detailed Description

Common definition used by mysys, performance schema and server & client.

Variable Documentation

◆ HOST_AND_PORT_LENGTH

constexpr int HOST_AND_PORT_LENGTH
staticconstexpr
Initial value:
=
static constexpr int HOSTNAME_LENGTH
Definition: my_hostname.h:43
static constexpr int PORTNUMBER_LENGTH
Definition: my_hostname.h:49

Length of "hostname:portnumber".

This does not include the trailing '\0'.

◆ HOSTNAME_LENGTH

constexpr int HOSTNAME_LENGTH = 255
staticconstexpr

◆ PORTNUMBER_LENGTH

constexpr int PORTNUMBER_LENGTH = 5
staticconstexpr