MySQL 8.0.40
Source Code Documentation
|
Classes | |
class | Acceptor |
struct | AsyncNotice |
class | DukHeap |
memory heap of duk contexts. More... | |
class | DukHeapPool |
class | DuktapeRuntimeError |
class | DuktapeStatementReader |
class | DuktapeStatementReaderFactory |
class | MySQLClassicProtocol |
class | MySQLServerMock |
Main class. More... | |
class | MySQLServerMockSession |
class | MySQLServerMockSessionClassic |
class | MySQLServerMockSessionX |
class | MySQLXProtocol |
class | ProtocolBase |
struct | ResultsetResponse |
Keeps result data for single SQL statement that returns resultset. More... | |
class | StatementReaderBase |
class | XProtocolDecoder |
class | XProtocolEncoder |
Typedefs | |
using | RowValueType = std::vector< std::optional< std::string > > |
Vector for keeping has_value|string representation of the values of the single row (ordered by column) More... | |
using | OkResponse = classic_protocol::message::server::Ok |
using | ErrorResponse = classic_protocol::message::server::Error |
Enumerations | |
enum class | MySQLColumnType { DECIMAL = 0x00 , TINY = 0x01 , SHORT = 0x02 , LONG = 0x03 , FLOAT = 0x04 , DOUBLE = 0x05 , NULL_ = 0x06 , TIMESTAMP = 0x07 , LONGLONG = 0x08 , INT24 = 0x09 , DATE = 0x0a , TIME = 0x0b , DATETIME = 0x0c , YEAR = 0x0d , NEWDATE = 0x0e , VARCHAR = 0x0f , BIT = 0x10 , TIMESTAMP2 = 0x11 , JSON = 0xf5 , NEWDECIMAL = 0xf6 , ENUM = 0xf7 , SET = 0xf8 , TINY_BLOB = 0xf9 , MEDIUM_BLOB = 0xfa , LONG_BLOB = 0xfb , BLOB = 0xfc , VAR_STRING = 0xfd , STRING = 0xfe , GEOMETRY = 0xff } |
Supported MySQL Coumn types. More... | |
Functions | |
template<class Rep , class Period > | |
static std::string | duration_to_us_string (const std::chrono::duration< Rep, Period > &dur) |
stdx::expected< std::string, std::error_code > | cert_get_name (X509_NAME *name) |
stdx::expected< std::string, std::error_code > | cert_get_subject_name (X509 *cert) |
stdx::expected< std::string, std::error_code > | cert_get_issuer_name (X509 *cert) |
template<class T > | |
constexpr uint8_t | type_byte () |
static std::string | encode_session_trackers (const MySQLClassicProtocol &conn) |
static duk_int_t | process_get_shared (duk_context *ctx) |
static duk_int_t | process_set_shared (duk_context *ctx) |
static duk_int_t | process_get_keys (duk_context *ctx) |
static void | check_stmts_section (duk_context *ctx) |
static bool | check_notices_section (duk_context *ctx) |
static void | check_handshake_section (duk_context *ctx) |
static duk_int_t | process_erase (duk_context *ctx) |
duk_int_t | duk_pcompile_file (duk_context *ctx, const char *path, int compile_type) |
static std::string | duk_get_type_names (duk_context *ctx, duk_idx_t ndx) |
MySQLColumnType | column_type_from_string (const std::string &type) |
template<class Rep , class Period > | |
static std::string | duration_to_us_string (const std::chrono::duration< Rep, Period > &dur) |
using server_mock::ErrorResponse = typedef classic_protocol::message::server::Error |
using server_mock::OkResponse = typedef classic_protocol::message::server::Ok |
using server_mock::RowValueType = typedef std::vector<std::optional<std::string> > |
Vector for keeping has_value|string representation of the values of the single row (ordered by column)
|
strong |
stdx::expected< std::string, std::error_code > server_mock::cert_get_issuer_name | ( | X509 * | cert | ) |
stdx::expected< std::string, std::error_code > server_mock::cert_get_name | ( | X509_NAME * | name | ) |
stdx::expected< std::string, std::error_code > server_mock::cert_get_subject_name | ( | X509 * | cert | ) |
|
static |
|
static |
|
static |
MySQLColumnType server_mock::column_type_from_string | ( | const std::string & | type | ) |
|
static |
duk_int_t server_mock::duk_pcompile_file | ( | duk_context * | ctx, |
const char * | path, | ||
int | compile_type | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
constexpr |