MySQL 9.1.0
Source Code Documentation
|
#include <string>
Go to the source code of this file.
Functions | |
void | print_version () |
This function prints a standard version string. More... | |
void | print_version_debug () |
This function prints a standard version string, with '-debug' added to the name of the executable. More... | |
void | print_explicit_version (const char *version) |
This function prints a version string with the released version supplied by the caller. More... | |
void | build_version (const std::string &progname, std::string *destination) |
This function builds a version string, with the program name supplied by the caller. More... | |
void build_version | ( | const std::string & | progname, |
std::string * | destination | ||
) |
This function builds a version string, with the program name supplied by the caller.
Used by MEB and other utilities that want to present themselves under their own name.
[in] | progname | Program name C++ string. |
[out] | destination | Output buffer. |
void print_explicit_version | ( | const char * | version | ) |
This function prints a version string with the released version supplied by the caller.
Used by the server process which needs to print if it is compiled with debug, ASAN, UBSAN or running with Valgrind.
[in] | version | Null-terminated release version string |
void print_version | ( | ) |
This function prints a standard version string.
Should be used by all utilities.
void print_version_debug | ( | ) |
This function prints a standard version string, with '-debug' added to the name of the executable.
Used by utilities that have an explicit need to state that they have been compiled in debug mode.