MySQL 5.6.14 Source Code Document
|
#include "row0ins.h"
#include "ha_prototypes.h"
#include "dict0dict.h"
#include "dict0boot.h"
#include "trx0rec.h"
#include "trx0undo.h"
#include "btr0btr.h"
#include "btr0cur.h"
#include "mach0data.h"
#include "que0que.h"
#include "row0upd.h"
#include "row0sel.h"
#include "row0row.h"
#include "row0log.h"
#include "rem0cmp.h"
#include "lock0lock.h"
#include "log0log.h"
#include "eval0eval.h"
#include "data0data.h"
#include "usr0sess.h"
#include "buf0lru.h"
#include "fts0fts.h"
#include "fts0types.h"
#include "m_string.h"
Go to the source code of this file.
Functions | |
UNIV_INTERN ins_node_t * | ins_node_create (ulint ins_type, dict_table_t *table, mem_heap_t *heap) |
UNIV_INTERN void | ins_node_set_new_row (ins_node_t *node, dtuple_t *row) |
Variables | |
static ulint | mode |
static ulint btr_cur_t * | cursor |
static ulint btr_cur_t ulint ** | offsets |
static ulint btr_cur_t ulint mem_heap_t * | offsets_heap |
static ulint btr_cur_t ulint mem_heap_t mem_heap_t * | heap |
static ulint btr_cur_t ulint mem_heap_t mem_heap_t const dtuple_t * | entry |
static ulint btr_cur_t ulint mem_heap_t mem_heap_t const dtuple_t que_thr_t * | thr |
UNIV_INTERN ins_node_t* ins_node_create | ( | ulint | ins_type, |
dict_table_t * | table, | ||
mem_heap_t * | heap | ||
) |
Creates an insert node struct.
ins_type | in: INS_VALUES, ... |
table | in: table where to insert |
heap | in: mem heap where created |
Definition at line 71 of file row0ins.cc.
UNIV_INTERN void ins_node_set_new_row | ( | ins_node_t * | node, |
dtuple_t * | row | ||
) |
Sets a new row to insert for an INS_DIRECT node. This function is only used if we have constructed the row separately, which is a rare case; this function is quite slow.
node | in: insert node |
row | in: new row (or first row) for the node |
Definition at line 193 of file row0ins.cc.
ulint btr_cur_t* cursor |
in: B-tree cursor
Definition at line 232 of file row0ins.cc.
ulint btr_cur_t ulint mem_heap_t mem_heap_t const dtuple_t* entry |
in: index entry to insert
Definition at line 232 of file row0ins.cc.
ulint btr_cur_t ulint mem_heap_t mem_heap_t* heap |
in/out: memory heap
Definition at line 232 of file row0ins.cc.
ulint mode |
< in: undo logging and locking flags in: BTR_MODIFY_LEAF or BTR_MODIFY_TREE, depending on whether mtr holds just a leaf latch or also a tree latch
Definition at line 232 of file row0ins.cc.
ulint btr_cur_t ulint** offsets |
in/out: offsets on cursor->page_cur.rec
Definition at line 232 of file row0ins.cc.
ulint btr_cur_t ulint mem_heap_t* offsets_heap |
in/out: memory heap that can be emptied
Definition at line 232 of file row0ins.cc.
ulint btr_cur_t ulint mem_heap_t mem_heap_t const dtuple_t que_thr_t* thr |
in: query thread
Definition at line 232 of file row0ins.cc.