mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
8fb8584e75
Only add indexed BLOBs to row_ext. trx_undo_rec_get_partial_row(): Move the BLOB fetching to row_ext_create(). row_build(): Pass only those BLOBs to row_ext_create() that are referenced by ordering columns of some indexes, similar to trx_undo_rec_get_partial_row(). row_ext_create(): Add the parameter "tuple". Move the implementation from row0ext.ic to row0ext.c. row_ext_lookup_ith(), row_ext_lookup(): Return a const pointer. Remove the parameters "field" and "f_len". Make the row_ext_t* parameter const. row_ext_t: Remove the field zip_size. field_ref_zero[]: Declare in btr0types.h instead of btr0cur.h. row_ext_lookup_low(): Rename to row_ext_cache_fill() and change the signature.
31 lines
886 B
C
31 lines
886 B
C
/************************************************************************
|
|
The index tree general types
|
|
|
|
(c) 1996 Innobase Oy
|
|
|
|
Created 2/17/1996 Heikki Tuuri
|
|
*************************************************************************/
|
|
|
|
#ifndef btr0types_h
|
|
#define btr0types_h
|
|
|
|
#include "univ.i"
|
|
|
|
#include "rem0types.h"
|
|
#include "page0types.h"
|
|
|
|
typedef struct btr_pcur_struct btr_pcur_t;
|
|
typedef struct btr_cur_struct btr_cur_t;
|
|
typedef struct btr_search_struct btr_search_t;
|
|
|
|
/* The size of a reference to data stored on a different page.
|
|
The reference is stored at the end of the prefix of the field
|
|
in the index record. */
|
|
#define BTR_EXTERN_FIELD_REF_SIZE 20
|
|
|
|
/* A BLOB field reference full of zero, for use in assertions and tests.
|
|
Initially, BLOB field references are set to zero, in
|
|
dtuple_convert_big_rec(). */
|
|
extern const byte field_ref_zero[BTR_EXTERN_FIELD_REF_SIZE];
|
|
|
|
#endif
|