#include <sql_class.h>
◆ enum_state
Enumerator |
---|
STMT_INITIALIZED | |
STMT_INITIALIZED_FOR_SP | |
STMT_PREPARED | |
STMT_REGULAR_EXECUTION | |
STMT_EXECUTED | |
STMT_ERROR | |
◆ Query_arena() [1/2]
◆ Query_arena() [2/2]
Query_arena::Query_arena |
( |
| ) |
|
|
inline |
◆ ~Query_arena()
virtual Query_arena::~Query_arena |
( |
| ) |
|
|
virtualdefault |
◆ add_item()
void Query_arena::add_item |
( |
Item * |
item | ) |
|
◆ alloc()
void * Query_arena::alloc |
( |
size_t |
size | ) |
|
|
inline |
◆ alloc_typed()
template<typename T >
T * Query_arena::alloc_typed |
( |
| ) |
|
|
inline |
◆ free_items()
void Query_arena::free_items |
( |
| ) |
|
◆ get_state()
◆ is_regular()
bool Query_arena::is_regular |
( |
| ) |
const |
|
inline |
- Returns
- true if a regular statement, ie not prepared and not stored proc
◆ is_stmt_prepare()
bool Query_arena::is_stmt_prepare |
( |
| ) |
const |
|
inline |
◆ is_stmt_prepare_or_first_sp_execute()
bool Query_arena::is_stmt_prepare_or_first_sp_execute |
( |
| ) |
const |
|
inline |
◆ is_stmt_prepare_or_first_stmt_execute()
bool Query_arena::is_stmt_prepare_or_first_stmt_execute |
( |
| ) |
const |
|
inline |
◆ item_list()
Item * Query_arena::item_list |
( |
| ) |
const |
|
inline |
◆ mem_calloc()
void * Query_arena::mem_calloc |
( |
size_t |
size | ) |
|
|
inline |
◆ mem_strdup()
char * Query_arena::mem_strdup |
( |
const char * |
str | ) |
|
|
inline |
◆ memdup()
void * Query_arena::memdup |
( |
const void * |
str, |
|
|
size_t |
size |
|
) |
| |
|
inline |
◆ memdup_typed()
template<typename T >
T * Query_arena::memdup_typed |
( |
const T * |
mem | ) |
|
|
inline |
◆ reset_item_list()
void Query_arena::reset_item_list |
( |
| ) |
|
|
inline |
◆ set_item_list()
void Query_arena::set_item_list |
( |
Item * |
item | ) |
|
|
inline |
◆ set_query_arena()
void Query_arena::set_query_arena |
( |
const Query_arena & |
set | ) |
|
Copies memory-managing members from set
.
No references are kept to it.
- Parameters
-
set | A Query_arena from which members are copied. |
◆ set_state()
void Query_arena::set_state |
( |
enum_state |
state_arg | ) |
|
|
inline |
◆ strmake() [1/2]
char * Query_arena::strmake |
( |
const char * |
str, |
|
|
size_t |
size |
|
) |
| const |
|
inline |
◆ strmake() [2/2]
◆ swap_query_arena()
Copy the current arena to backup
and set the current arena to match source
- Parameters
-
source | A Query_arena from which members are copied. |
backup | A Query_arena to which members are first saved. |
◆ is_repreparing
bool Query_arena::is_repreparing {false} |
To check whether a reprepare operation is active.
◆ m_item_list
Item* Query_arena::m_item_list |
|
private |
◆ mem_root
◆ state
The documentation for this class was generated from the following files: