MySQL 8.0.30
Source Code Documentation
mysql_session.cc File Reference
#include "mysqlrouter/mysql_session.h"
#include <algorithm>
#include <chrono>
#include <functional>
#include <sstream>
#include <string>
#include <mysql.h>
#include "mysql/harness/stdx/expected.h"
#include "mysqlrouter/mysql_client_thread_token.h"
#include "mysql/harness/logging/logging.h"

Classes

class  RealResultRow
 

Macros

#define MYSQL_ROUTER_LOG_DOMAIN   "sql"
 

Functions

const std::error_category & mysql_category () noexcept
 
static MysqlError make_mysql_error_code (unsigned int e)
 
static MysqlError make_mysql_error_code (MYSQL *m)
 

Macro Definition Documentation

◆ MYSQL_ROUTER_LOG_DOMAIN

#define MYSQL_ROUTER_LOG_DOMAIN   "sql"

Function Documentation

◆ make_mysql_error_code() [1/2]

static MysqlError make_mysql_error_code ( MYSQL m)
static

◆ make_mysql_error_code() [2/2]

static MysqlError make_mysql_error_code ( unsigned int  e)
static

◆ mysql_category()

const std::error_category & mysql_category ( )
noexcept