MySQL 8.4.0
Source Code Documentation
duktape_statement_reader.cc File Reference
#include <chrono>
#include <map>
#include <stdexcept>
#include <string>
#include <system_error>
#include <mysqld_error.h>
#include <openssl/ssl.h>
#include "duk_logging.h"
#include "duk_module_shim.h"
#include "duk_node_fs.h"
#include "duktape.h"
#include "duktape_statement_reader.h"
#include "harness_assert.h"
#include "mysql/harness/logging/logging.h"
#include "mysql/harness/stdx/expected.h"
#include "mysqlrouter/classic_protocol.h"
#include "mysqlrouter/classic_protocol_constants.h"
#include "mysqlrouter/classic_protocol_session_track.h"
#include "statement_reader.h"

Classes

class  server_mock::DuktapeRuntimeError
 
class  server_mock::DukHeap
 memory heap of duk contexts. More...
 
class  server_mock::DukHeap::HeapDeleter
 
class  server_mock::DukHeapPool
 
struct  server_mock::DuktapeStatementReader::Pimpl
 

Namespaces

namespace  server_mock
 

Functions

template<class T >
constexpr uint8_t server_mock::type_byte ()
 
template<class T >
std::string server_mock::encode_session_tracker (const T &tracker)
 
std::string server_mock::encode_session_trackers (const std::vector< session_tracker_field > &trackers)
 
static duk_int_t server_mock::process_get_shared (duk_context *ctx)
 
static duk_int_t server_mock::process_set_shared (duk_context *ctx)
 
static duk_int_t server_mock::process_get_keys (duk_context *ctx)
 
static void server_mock::check_stmts_section (duk_context *ctx)
 
static bool server_mock::check_notices_section (duk_context *ctx)
 
static void server_mock::check_handshake_section (duk_context *ctx)
 
static duk_int_t server_mock::process_erase (duk_context *ctx)
 
duk_int_t server_mock::duk_pcompile_file (duk_context *ctx, const char *path, int compile_type)
 
static std::string server_mock::duk_get_type_names (duk_context *ctx, duk_idx_t ndx)
 
MySQLColumnType server_mock::column_type_from_string (const std::string &type)
 
static void server_mock::check_handshake_greeting_exectime (duk_context *ctx)
 
static void server_mock::check_handshake_object (duk_context *ctx)
 
static classic_protocol::message::server::Greeting server_mock::default_server_greeting ()