MySQL 9.1.0
Source Code Documentation
mysql_statement_service_imp.cc File Reference
#include "mysql_statement_service_imp.h"
#include <mysql/components/service_implementation.h>
#include <sql/current_thd.h>
#include <sql/statement/statement.h>
#include <cstddef>
#include <cstdint>
#include <cstdio>
#include <cstring>
#include <string>
#include <variant>
#include "field_types.h"
#include "lex_string.h"
#include "my_inttypes.h"
#include "my_sys.h"
#include "mysql/com_data.h"
#include "mysql/components/services/bits/mle_time_bits.h"
#include "mysql/components/services/bits/stored_program_bits.h"
#include "mysql/components/services/defs/mysql_string_defs.h"
#include "mysql/components/services/mysql_statement_service.h"
#include "mysql_time.h"
#include "sql/item.h"

Classes

struct  Service_statement
 

Functions

 REQUIRES_SERVICE_PLACEHOLDER (mysql_current_thread_reader)
 
auto enum_field_type_to_int (enum_field_types field_type) -> uint64_t
 
MYSQL_TIME convert_to_mysql_time (const mle_time &value)
 
auto int_to_enum_field_type (uint64_t type) -> std::optional< enum_field_types >
 
auto is_temporal_type (uint64_t type) -> bool
 
bool execute_prepared_statement (Prepared_statement_handle *statement)
 
bool execute_regular_statement (Regular_statement_handle *statement)
 
auto convert_to_mle_time (const MYSQL_TIME &value) -> mle_time
 

Variables

constexpr auto MYSQL_SUCCESS = 0
 
constexpr auto MYSQL_FAILURE = 1
 

Function Documentation

◆ convert_to_mle_time()

auto convert_to_mle_time ( const MYSQL_TIME value) -> mle_time

◆ convert_to_mysql_time()

MYSQL_TIME convert_to_mysql_time ( const mle_time value)

◆ enum_field_type_to_int()

auto enum_field_type_to_int ( enum_field_types  field_type) -> uint64_t

◆ execute_prepared_statement()

bool execute_prepared_statement ( Prepared_statement_handle statement)

◆ execute_regular_statement()

bool execute_regular_statement ( Regular_statement_handle statement)

◆ int_to_enum_field_type()

auto int_to_enum_field_type ( uint64_t  type) -> std::optional<enum_field_types>

◆ is_temporal_type()

auto is_temporal_type ( uint64_t  type) -> bool

◆ REQUIRES_SERVICE_PLACEHOLDER()

REQUIRES_SERVICE_PLACEHOLDER ( mysql_current_thread_reader  )

Variable Documentation

◆ MYSQL_FAILURE

constexpr auto MYSQL_FAILURE = 1
constexpr

◆ MYSQL_SUCCESS

constexpr auto MYSQL_SUCCESS = 0
constexpr