MySQL 8.4.2
Source Code Documentation
|
Structure for an SQL data field. More...
#include <data0data.h>
Public Member Functions | |
bool | is_virtual () const |
void | reset () |
dfield_t * | clone (mem_heap_t *heap) |
Create a deep copy of this object. More... | |
byte * | blobref () const |
uint32_t | lob_version () const |
Obtain the LOB version number, if this is an externally stored field. More... | |
dfield_t () | |
std::ostream & | print (std::ostream &out) const |
Print the dfield_t object into the given output stream. More... | |
void | adjust_v_data_mysql (const dict_v_col_t *vcol, bool comp, const byte *field, ulint len, mem_heap_t *heap) |
Adjust and(or) set virtual column value which is read from undo or online DDL log. More... | |
Public Attributes | |
void * | data |
pointer to data More... | |
bool | ext |
true=externally stored, false=local More... | |
unsigned | spatial_status: 2 |
spatial status of externally stored field in undo log for purge More... | |
unsigned | len |
data length; UNIV_SQL_NULL if SQL null More... | |
dtype_t | type |
type of data More... | |
Structure for an SQL data field.
|
inline |
void dfield_t::adjust_v_data_mysql | ( | const dict_v_col_t * | vcol, |
bool | comp, | ||
const byte * | field, | ||
ulint | len, | ||
mem_heap_t * | heap | ||
) |
Adjust and(or) set virtual column value which is read from undo or online DDL log.
[in] | vcol | virtual column definition |
[in] | comp | true if compact format |
[in] | field | virtual column value |
[in] | len | value length |
[in,out] | heap | memory heap to keep value when necessary |
byte * dfield_t::blobref | ( | ) | const |
dfield_t * dfield_t::clone | ( | mem_heap_t * | heap | ) |
Create a deep copy of this object.
[in] | heap | the memory heap in which the clone will be created. |
|
inline |
uint32_t dfield_t::lob_version | ( | ) | const |
Obtain the LOB version number, if this is an externally stored field.
std::ostream & dfield_t::print | ( | std::ostream & | out | ) | const |
Print the dfield_t object into the given output stream.
[in] | out | the output stream. |
|
inline |
void* dfield_t::data |
pointer to data
bool dfield_t::ext |
true=externally stored, false=local
unsigned dfield_t::len |
data length; UNIV_SQL_NULL if SQL null
unsigned dfield_t::spatial_status |
spatial status of externally stored field in undo log for purge
dtype_t dfield_t::type |
type of data