MySQL 8.4.2
Source Code Documentation
|
Ed_result_set – a container with result set rows. More...
#include <protocol_local.h>
Public Member Functions | |
operator List< Ed_row > & () | |
unsigned int | size () const |
Ed_row * | get_fields () |
Ed_result_set (List< Ed_row > *rows_arg, Ed_row *fields, size_t column_count, MEM_ROOT *mem_root_arg) | |
Initialize an instance of Ed_result_set. More... | |
~Ed_result_set ()=default | |
We don't call member destructors, they all are POD types. More... | |
size_t | get_field_count () const |
Static Public Member Functions | |
static void * | operator new (size_t size, MEM_ROOT *mem_root, const std::nothrow_t &=std::nothrow) noexcept |
static void | operator delete (void *, size_t) noexcept |
static void | operator delete (void *, MEM_ROOT *, const std::nothrow_t &) noexcept |
Private Member Functions | |
Ed_result_set (const Ed_result_set &) | |
Ed_result_set & | operator= (Ed_result_set &) |
Private Attributes | |
MEM_ROOT | m_mem_root |
size_t | m_column_count |
List< Ed_row > * | m_rows |
Ed_row * | m_fields |
Ed_result_set * | m_next_rset |
Friends | |
class | Ed_connection |
Ed_result_set – a container with result set rows.
Ed_result_set::Ed_result_set | ( | List< Ed_row > * | rows_arg, |
Ed_row * | fields, | ||
size_t | column_count_arg, | ||
MEM_ROOT * | mem_root_arg | ||
) |
Initialize an instance of Ed_result_set.
Instances of the class, as well as all result set rows, are always allocated in the memory root passed over as the third argument. In the constructor, we take over ownership of the memory root. It will be freed when the class is destroyed.
sic: Ed_result_est is not designed to be allocated on stack.
|
default |
We don't call member destructors, they all are POD types.
|
private |
|
inline |
|
inline |
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
|
private |
|
inline |
|
friend |
|
private |
|
private |
|
private |
|
private |