MySQL 9.0.0
Source Code Documentation
session_tracker.cc File Reference
#include "sql/session_tracker.h"
#include <string.h>
#include <algorithm>
#include <memory>
#include <new>
#include <string>
#include <utility>
#include <vector>
#include "lex_string.h"
#include "m_string.h"
#include "map_helpers.h"
#include "my_compiler.h"
#include "my_dbug.h"
#include "my_inttypes.h"
#include "my_sys.h"
#include "mysql/service_mysql_alloc.h"
#include "mysql/status_var.h"
#include "mysql/strings/m_ctype.h"
#include "mysql/thread_type.h"
#include "mysql_com.h"
#include "mysqld_error.h"
#include "sql/current_thd.h"
#include "sql/protocol.h"
#include "sql/psi_memory_key.h"
#include "sql/query_options.h"
#include "sql/rpl_context.h"
#include "sql/rpl_gtid.h"
#include "sql/set_var.h"
#include "sql/sql_class.h"
#include "sql/sql_error.h"
#include "sql/sql_lex.h"
#include "sql/sql_show.h"
#include "sql/system_variables.h"
#include "sql/transaction_info.h"
#include "sql/xa.h"
#include "sql_string.h"
#include "string_with_len.h"
#include "template_utils.h"

Classes

class  Session_sysvars_tracker
 
struct  Session_sysvars_tracker::sysvar_node_st
 
class  Session_sysvars_tracker::vars_list
 
class  Current_schema_tracker
 
class  Session_gtids_ctx_encoder
 This is an interface for encoding the gtids in the payload of the the OK packet. More...
 
class  Session_gtids_ctx_encoder_string
 
class  Session_gtids_tracker
 
class  Session_transaction_state
 

Functions

static void store_lenenc_string (String &to, const char *from, size_t length)
 Stores the given string in length-encoded format into the specified buffer. More...
 
static bool is_component_registered_var_name (const char *name)
 

Variables

static const unsigned int EXTRA_ALLOC = 1024
 

Function Documentation

◆ is_component_registered_var_name()

static bool is_component_registered_var_name ( const char *  name)
static

◆ store_lenenc_string()

static void store_lenenc_string ( String to,
const char *  from,
size_t  length 
)
static

Stores the given string in length-encoded format into the specified buffer.

Parameters
toBuffer to store the given string in.
fromThe give string to be stored.
lengthLength of the above string.

Variable Documentation

◆ EXTRA_ALLOC

const unsigned int EXTRA_ALLOC = 1024
static