MySQL 8.0.39
Source Code Documentation
classic_mock_session.cc File Reference
#include "classic_mock_session.h"
#include <openssl/bio.h>
#include <openssl/x509.h>
#include <array>
#include <chrono>
#include <exception>
#include <memory>
#include <system_error>
#include <thread>
#include <openssl/ssl.h>
#include "hexify.h"
#include "mysql/harness/logging/logging.h"
#include "mysql/harness/net_ts/buffer.h"
#include "mysql/harness/net_ts/impl/socket_constants.h"
#include "mysql/harness/net_ts/socket.h"
#include "mysql/harness/stdx/expected.h"
#include "mysql/harness/tls_error.h"
#include "mysqld_error.h"
#include "mysqlrouter/classic_protocol.h"
#include "mysqlrouter/classic_protocol_codec_error.h"
#include "mysqlrouter/classic_protocol_codec_session_track.h"
#include "mysqlrouter/classic_protocol_constants.h"
#include "mysqlrouter/classic_protocol_message.h"
#include "mysqlrouter/classic_protocol_session_track.h"
#include "router/src/mock_server/src/statement_reader.h"

Namespaces

namespace  server_mock
 

Functions

template<class Rep , class Period >
static std::string server_mock::duration_to_us_string (const std::chrono::duration< Rep, Period > &dur)
 
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)
 
stdx::expected< std::string, std::error_code > server_mock::cert_get_issuer_name (X509 *cert)
 
template<class T >
constexpr uint8_t server_mock::type_byte ()
 
static std::string server_mock::encode_session_trackers (const MySQLClassicProtocol &conn)