~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/include/row0undo.h

  • Committer: Brian Aker
  • Date: 2008-10-28 08:36:02 UTC
  • mfrom: (520.4.13 merge-innodb-plugin)
  • Revision ID: brian@tangent.org-20081028083602-0p3zzlhlxr5q2sqo
Merging Monty's work

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
/************************************************************************
23
23
Creates a row undo node to a query graph. */
24
 
 
 
24
UNIV_INTERN
25
25
undo_node_t*
26
26
row_undo_node_create(
27
27
/*=================*/
34
34
The pcur in node is used in the search. If found, stores the row to node,
35
35
and stores the position of pcur, and detaches it. The pcur must be closed
36
36
by the caller in any case. */
37
 
 
 
37
UNIV_INTERN
38
38
ibool
39
39
row_undo_search_clust_to_pcur(
40
40
/*==========================*/
45
45
/***************************************************************
46
46
Undoes a row operation in a table. This is a high-level function used
47
47
in SQL execution graphs. */
48
 
 
 
48
UNIV_INTERN
49
49
que_thr_t*
50
50
row_undo_step(
51
51
/*==========*/
91
91
        dtuple_t*       ref;    /* row reference to the next row to handle */
92
92
        dtuple_t*       row;    /* a copy (also fields copied to heap) of the
93
93
                                row to handle */
 
94
        row_ext_t*      ext;    /* NULL, or prefixes of the externally
 
95
                                stored columns of the row */
 
96
        dtuple_t*       undo_row;/* NULL, or the row after undo */
 
97
        row_ext_t*      undo_ext;/* NULL, or prefixes of the externally
 
98
                                stored columns of undo_row */
94
99
        dict_index_t*   index;  /* the next index whose record should be
95
100
                                handled */
96
101
        mem_heap_t*     heap;   /* memory heap used as auxiliary storage for