MySQL 8.0.40
Source Code Documentation
classic_connection_base.cc File Reference
#include "classic_connection_base.h"
#include <chrono>
#include <cinttypes>
#include <iostream>
#include <memory>
#include <sstream>
#include <string>
#include <system_error>
#include <utility>
#include "basic_protocol_splicer.h"
#include "channel.h"
#include "mysql/harness/logging/logging.h"
#include "mysql/harness/stdx/expected.h"
#include "mysql/harness/tls_error.h"
#include "mysqlrouter/classic_protocol_session_track.h"
#include "processor.h"
#include "tracer.h"

Functions

template<class T >
static constexpr uint8_t type_byte ()
 
static stdx::expected< size_t, std::error_code > encode_server_side_client_greeting (Channel::recv_buffer_type &send_buf, uint8_t seq_id, const classic_protocol::capabilities::value_type &shared_capabilities)
 
static void log_fatal_error_code (const char *msg, std::error_code ec)
 

Function Documentation

◆ encode_server_side_client_greeting()

static stdx::expected< size_t, std::error_code > encode_server_side_client_greeting ( Channel::recv_buffer_type send_buf,
uint8_t  seq_id,
const classic_protocol::capabilities::value_type shared_capabilities 
)
static

◆ log_fatal_error_code()

static void log_fatal_error_code ( const char *  msg,
std::error_code  ec 
)
static

◆ type_byte()

template<class T >
static constexpr uint8_t type_byte ( )
staticconstexpr