MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
row0ext.cc File Reference
#include "row0ext.h"
#include "btr0cur.h"
Include dependency graph for row0ext.cc:

Go to the source code of this file.

Functions

UNIV_INTERN row_ext_trow_ext_create (ulint n_ext, const ulint *ext, ulint flags, const dtuple_t *tuple, mem_heap_t *heap)

Detailed Description

Caching of externally stored column prefixes

Created September 2006 Marko Makela

Definition in file row0ext.cc.

Function Documentation

UNIV_INTERN row_ext_t* row_ext_create ( ulint  n_ext,
const ulint *  ext,
ulint  flags,
const dtuple_t tuple,
mem_heap_t heap 
)

Creates a cache of column prefixes of externally stored columns.

Returns
own: column prefix cache
Parameters
n_extin: number of externally stored columns
extin: col_no's of externally stored columns in the InnoDB table object, as reported by dict_col_get_no(); NOT relative to the records in the clustered index
flagsin: table->flags
tuplein: data tuple containing the field references of the externally stored columns; must be indexed by col_no; the clustered index record must be covered by a lock or a page latch to prevent deletion (rollback or purge).
heapin: heap where created

Definition at line 91 of file row0ext.cc.

Here is the call graph for this function:

Here is the caller graph for this function: