124 index,
const_cast<const rec_t *
>(rec), offsets,
n, len));
#define L
Definition: ctype-tis620.cc:75
bool length(const dd::Spatial_reference_system *srs, const Geometry *g1, double *length, bool *null) noexcept
Computes the length of linestrings and multilinestrings.
Definition: length.cc:76
constexpr uint32_t REC_OFFS_EXTERNAL
Definition: rec.h:75
constexpr uint32_t REC_OFFS_DEFAULT
Definition: rec.h:77
constexpr uint32_t REC_OFFS_DROP
Definition: rec.h:79
constexpr uint32_t REC_OFFS_MASK
Definition: rec.h:81
constexpr uint32_t REC_OFFS_SQL_NULL
Definition: rec.h:73
static ulint rec_offs_n_fields(const ulint *offsets)
The following function returns the number of fields in a record.
Definition: rec.h:510
static const ulint * rec_offs_base(const ulint *offsets)
Definition: rec.h:227
byte rec_t
Definition: rem0types.h:41
void rec_offs_make_nth_extern(dict_index_t *index, ulint *offsets, ulint n)
Mark the nth field as externally stored.
Definition: rem0wrec.cc:116
ulint rec_get_nth_field_size(const dict_index_t *index, const rec_t *rec, ulint n)
Gets the physical size of an old-style field.
Definition: rem0wrec.cc:82
ulint rec_offs_nth_default(const dict_index_t *index, const ulint *offsets, ulint n)
Returns nonzero if the default bit is set in nth field of rec.
Definition: rem0wrec.cc:134
const byte * rec_get_nth_field(const dict_index_t *index, const rec_t *rec, const ulint *offsets, ulint n, ulint *len)
Gets the value of the specified field in the record.
Definition: rem0wrec.h:108
void rec_set_nth_field(const dict_index_t *index, rec_t *rec, const ulint *offsets, ulint n, const void *data, ulint len)
This is used to modify the value of an already existing field in a record.
Definition: rem0wrec.cc:154
ulint rec_get_nth_field_offs_old(const dict_index_t *index, const rec_t *rec, ulint n, ulint *len)
The following function is used to get the offset to the nth data field in an old-style record.
Definition: rem0wrec.cc:99
const byte * rec_get_nth_field_old(const dict_index_t *index, const rec_t *rec, ulint n, ulint *len)
Definition: rem0wrec.cc:76
ulint rec_offs_nth_size(const dict_index_t *index, const ulint *offsets, ulint n)
Gets the physical size of a field.
Definition: rem0wrec.cc:144
ulint rec_get_nth_field_offs(const dict_index_t *index, const ulint *offsets, ulint n, ulint *len)
The following function is used to get an offset to the nth data field in a record.
Definition: rem0wrec.h:67
ulint rec_2_is_field_extern(const dict_index_t *index, const rec_t *rec, ulint n)
Returns nonzero if the field is stored off-page.
Definition: rem0wrec.cc:164
ulint rec_offs_nth_extern(const dict_index_t *index, const ulint *offsets, ulint n)
Returns nonzero if the extern bit is set in nth field of rec.
Definition: rem0wrec.h:150
void validate_rec_offset(const dict_index_t *index, const ulint *offsets, ulint n, ut::Location L)
Validates offset and field number.
Definition: rem0wrec.cc:64
ulint rec_offs_nth_sql_null(const dict_index_t *index, const ulint *offsets, ulint n)
Returns nonzero if the SQL NULL bit is set in nth field of rec.
Definition: rem0wrec.cc:124
ulint rec_get_data_size_old(const rec_t *rec)
The following function returns the data size of an old-style physical record, that is the sum of fiel...
Definition: rem0wrec.cc:181
Data structure for an index.
Definition: dict0mem.h:1041
uint16_t get_field_off_pos(ulint pos) const
Get the physical position of a field on a row.
Definition: dict0mem.h:1521
bool has_row_versions() const
Check whether index belongs to a table having row versions.
Definition: dict0mem.h:1343
constexpr uint32_t UNIV_SQL_NULL
The following number as the length of a logical field means that the field has the SQL NULL as its va...
Definition: univ.i:463
constexpr auto UNIV_SQL_ADD_COL_DEFAULT
Flag to indicate a field which was added instantly.
Definition: univ.i:466
unsigned long int ulint
Definition: univ.i:406
constexpr auto UNIV_SQL_INSTANT_DROP_COL
Flag to indicate a field which was dropped instantly.
Definition: univ.i:478
#define UT_LOCATION_HERE
Definition: ut0core.h:73
#define ut_ad(EXPR)
Debug assertion.
Definition: ut0dbg.h:105
int n
Definition: xcom_base.cc:509