SQL data field and tuple.
dberr_t
Definition: db0err.h:39
Data dictionary global types.
static int flags[50]
Definition: hp_test1.cc:40
static PFS_engine_table_share_proxy table
Definition: pfs.cc:61
mode
Definition: file_handle.h:61
Query graph global types.
void que_node_t
Definition: que0types.h:41
ins_node_t * ins_node_create(ulint ins_type, dict_table_t *table, mem_heap_t *heap)
Creates an insert node struct.
Definition: row0ins.cc:80
constexpr uint32_t INS_NODE_MAGIC_N
Definition: row0ins.h:195
dberr_t row_ins_clust_index_entry_low(uint32_t flags, ulint mode, dict_index_t *index, ulint n_uniq, dtuple_t *entry, que_thr_t *thr, bool dup_chk_only)
Tries to insert an entry into a clustered index, ignoring foreign key constraints.
Definition: row0ins.cc:2350
constexpr uint32_t INS_NODE_ALLOC_ROW_ID
row id should be allocated
Definition: row0ins.h:209
dberr_t row_ins_clust_index_entry(dict_index_t *index, dtuple_t *entry, que_thr_t *thr, bool dup_chk_only)
Inserts an entry into a clustered index.
Definition: row0ins.cc:3066
constexpr uint32_t INS_NODE_INSERT_ENTRIES
index entries should be built and inserted
Definition: row0ins.h:211
constexpr uint32_t INS_VALUES
INSERT INTO ... VALUES ...
Definition: row0ins.h:201
dberr_t row_ins_sec_index_entry(dict_index_t *index, dtuple_t *entry, que_thr_t *thr, bool dup_chk_only)
Inserts an entry into a secondary index.
Definition: row0ins.cc:3150
dberr_t row_ins_sec_index_entry_low(uint32_t flags, ulint mode, dict_index_t *index, mem_heap_t *offsets_heap, mem_heap_t *heap, dtuple_t *entry, trx_id_t trx_id, que_thr_t *thr, bool dup_chk_only)
Tries to insert an entry into a secondary index.
Definition: row0ins.cc:2786
constexpr uint32_t INS_DIRECT
this is for internal use in dict0crea: insert the row directly
Definition: row0ins.h:203
constexpr uint32_t INS_NODE_SET_IX_LOCK
we should set an IX lock on table
Definition: row0ins.h:207
constexpr uint32_t INS_SEARCHED
INSERT INTO ... SELECT ...
Definition: row0ins.h:199
dberr_t row_ins_check_foreign_constraint(bool check_ref, dict_foreign_t *foreign, dict_table_t *table, dtuple_t *entry, que_thr_t *thr)
Checks if foreign key constraint fails for an index entry.
Definition: row0ins.cc:1368
dberr_t row_ins_index_entry_set_vals(const dict_index_t *index, dtuple_t *entry, const dtuple_t *row)
Sets the values of the dtuple fields in entry from the values of appropriate columns in row.
Definition: row0ins.cc:3345
void ins_node_set_new_row(ins_node_t *node, dtuple_t *row)
Sets a new row to insert for an INS_DIRECT node.
Definition: row0ins.cc:193
que_thr_t * row_ins_step(que_thr_t *thr)
Inserts a row to a table.
Definition: row0ins.cc:3598
Row operation global types.
Definition: completion_hash.h:35
Data structure for a foreign key constraint; an example: FOREIGN KEY (A, B) REFERENCES TABLE2 (C,...
Definition: dict0mem.h:1661
Data structure for an index.
Definition: dict0mem.h:1041
Data structure for a database table.
Definition: dict0mem.h:1904
Structure for an SQL data tuple of fields (logical record)
Definition: data0data.h:696
Definition: row0ins.h:162
dict_index_t * index
NULL, or the next index where the index entry should be inserted.
Definition: row0ins.h:171
dict_table_t * table
table where to insert
Definition: row0ins.h:166
trx_id_t trx_id
trx id or the last trx which executed the node
Definition: row0ins.h:179
byte * row_id_buf
Definition: row0ins.h:178
ulint state
node execution state
Definition: row0ins.h:170
uint32_t ins_multi_val_pos
When there is a lock wait error, this remembers current position of the multi-value field,...
Definition: row0ins.h:190
que_common_t common
node type: QUE_NODE_INSERT
Definition: row0ins.h:163
byte * trx_id_buf
Definition: row0ins.h:181
sel_node_t * select
select in searched insert
Definition: row0ins.h:167
mem_heap_t * entry_sys_heap
Definition: row0ins.h:182
que_node_t * values_list
Definition: row0ins.h:168
ulint ins_type
Definition: row0ins.h:164
dtuple_t * row
row to insert
Definition: row0ins.h:165
dtuple_t * entry
NULL, or entry to insert in the index; after a successful insert of the entry, this should be reset t...
Definition: row0ins.h:173
ulint magic_n
Definition: row0ins.h:192
entry_list
Definition: row0ins.h:177
The info structure stored at the beginning of a heap block.
Definition: mem0mem.h:302
Definition: que0types.h:51
Definition: que0que.h:242
Select statement node.
Definition: row0sel.h:329
typedef UT_LIST_BASE_NODE_T(rw_lock_t, list) rw_lock_list_t
Transaction system global type definitions.
ib_id_t trx_id_t
Transaction identifier (DB_TRX_ID, DATA_TRX_ID)
Definition: trx0types.h:138
Version control for database, common definitions, and include files.
unsigned long int ulint
Definition: univ.i:406