MySQL 9.0.0
Source Code Documentation
lex_string.h File Reference
#include "mysql/mysql_lex_string.h"
#include <string>
#include <string_view>

Go to the source code of this file.

Typedefs

typedef struct MYSQL_LEX_STRING LEX_STRING
 
typedef struct MYSQL_LEX_CSTRING LEX_CSTRING
 

Functions

static std::string to_string (const LEX_STRING &str)
 
static std::string to_string (const LEX_CSTRING &str)
 
static std::string_view to_string_view (LEX_STRING str)
 
static std::string_view to_string_view (LEX_CSTRING str)
 

Variables

constexpr const LEX_STRING NULL_STR = {nullptr, 0}
 
constexpr const LEX_CSTRING NULL_CSTR = {nullptr, 0}
 
constexpr const LEX_CSTRING EMPTY_CSTR = {"", 0}
 

Typedef Documentation

◆ LEX_CSTRING

◆ LEX_STRING

typedef struct MYSQL_LEX_STRING LEX_STRING

Function Documentation

◆ to_string() [1/2]

static std::string to_string ( const LEX_CSTRING str)
inlinestatic

◆ to_string() [2/2]

static std::string to_string ( const LEX_STRING str)
inlinestatic

◆ to_string_view() [1/2]

static std::string_view to_string_view ( LEX_CSTRING  str)
inlinestatic

◆ to_string_view() [2/2]

static std::string_view to_string_view ( LEX_STRING  str)
inlinestatic

Variable Documentation

◆ EMPTY_CSTR

constexpr const LEX_CSTRING EMPTY_CSTR = {"", 0}
constexpr

◆ NULL_CSTR

constexpr const LEX_CSTRING NULL_CSTR = {nullptr, 0}
constexpr

◆ NULL_STR

constexpr const LEX_STRING NULL_STR = {nullptr, 0}
constexpr