MySQL 9.1.0
Source Code Documentation
statement_reader.h File Reference
#include <chrono>
#include <memory>
#include <optional>
#include <string>
#include <utility>
#include <variant>
#include <vector>
#include <openssl/bio.h>
#include "mysql/harness/net_ts/buffer.h"
#include "mysql/harness/net_ts/executor.h"
#include "mysql/harness/net_ts/io_context.h"
#include "mysql/harness/net_ts/timer.h"
#include "mysql/harness/tls_error.h"
#include "mysql/harness/tls_server_context.h"
#include "mysql_protocol_common.h"
#include "mysqlrouter/classic_protocol_constants.h"
#include "authentication.h"
#include "mysql/harness/net_ts/internet.h"
#include "mysql/harness/net_ts/socket.h"
#include "mysql/harness/stdx/expected.h"
#include "mysql/harness/stdx/monitor.h"
#include "mysqlrouter/classic_protocol_message.h"
#include "mysqlrouter/classic_protocol_session_track.h"

Go to the source code of this file.

Classes

struct  server_mock::ResultsetResponse
 Keeps result data for single SQL statement that returns resultset. More...
 
struct  server_mock::AsyncNotice
 
class  server_mock::ProtocolBase
 
class  server_mock::ProtocolBase::SSL_Deleter
 
class  server_mock::StatementReaderBase
 
struct  server_mock::StatementReaderBase::handshake_data
 

Namespaces

namespace  server_mock
 

Typedefs

using server_mock::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 server_mock::session_tracker_field = std::variant< classic_protocol::session_track::TransactionCharacteristics, classic_protocol::session_track::TransactionState, classic_protocol::session_track::SystemVariable, classic_protocol::session_track::Schema, classic_protocol::session_track::State, classic_protocol::session_track::Gtid >
 
using server_mock::OkResponse = classic_protocol::message::server::Ok
 
using server_mock::ErrorResponse = classic_protocol::message::server::Error
 

Functions

std::string server_mock::encode_session_trackers (const std::vector< session_tracker_field > &trackers)