MySQL  8.0.19
Source Code Documentation
big_rec_field_t Struct Reference

A slot for a field in a big rec vector. More...

#include <data0data.h>

Public Member Functions

 big_rec_field_t (ulint field_no_, ulint len_, void *data_)
 Constructor. More...
 
byteptr () const
 
std::ostream & print (std::ostream &out) const
 Print the big_rec_field_t object into the given output stream. More...
 

Public Attributes

ulint field_no
 field number in record More...
 
ulint len
 stored data length, in bytes More...
 
void * data
 stored data More...
 
bool ext_in_old
 If true, this field was stored externally in the old row. More...
 
bool ext_in_new
 If true, this field is stored externally in the new row. More...
 

Detailed Description

A slot for a field in a big rec vector.

Constructor & Destructor Documentation

◆ big_rec_field_t()

big_rec_field_t::big_rec_field_t ( ulint  field_no_,
ulint  len_,
void *  data_ 
)
inline

Constructor.

Parameters
[in]field_no_the field number
[in]len_the data length
[in]data_the data

Member Function Documentation

◆ print()

std::ostream & big_rec_field_t::print ( std::ostream &  out) const

Print the big_rec_field_t object into the given output stream.

Parameters
[in]outthe output stream.
Returns
the ouput stream.

◆ ptr()

byte* big_rec_field_t::ptr ( ) const
inline

Member Data Documentation

◆ data

void* big_rec_field_t::data

stored data

◆ ext_in_new

bool big_rec_field_t::ext_in_new

If true, this field is stored externally in the new row.

If false, this field is stored inline in the new row.

◆ ext_in_old

bool big_rec_field_t::ext_in_old

If true, this field was stored externally in the old row.

If false, this field was stored inline in the old row.

◆ field_no

ulint big_rec_field_t::field_no

field number in record

◆ len

ulint big_rec_field_t::len

stored data length, in bytes


The documentation for this struct was generated from the following files: