~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/include/read0read.h

  • Committer: lbieber
  • Date: 2010-10-06 16:34:16 UTC
  • mfrom: (1816.1.3 build)
  • Revision ID: lbieber@orisndriz08-20101006163416-ea0sl59qgpglk21y
Merge Monty - Change the requirement from either libinnodb to libhaildb. Also, tied it to version 2.2
Merge Andrew - fix bug 650935: remove --compress from all clients
Merge Andrew - fix bug 653471: Add -A to drizzle client
Merge Travis - 621861 = To change C structs to C++ classes in Drizzle

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 
3
 
Copyright (C) 1997, 2009, Innobase Oy. All Rights Reserved.
 
3
Copyright (c) 1997, 2009, Innobase Oy. All Rights Reserved.
4
4
 
5
5
This program is free software; you can redistribute it and/or modify it under
6
6
the terms of the GNU General Public License as published by the Free Software
43
43
read_view_open_now(
44
44
/*===============*/
45
45
        trx_id_t        cr_trx_id,      /*!< in: trx_id of creating
46
 
                                        transaction, or 0 used in purge */
 
46
                                        transaction, or ut_dulint_zero
 
47
                                        used in purge */
47
48
        mem_heap_t*     heap);          /*!< in: memory heap from which
48
49
                                        allocated */
49
50
/*********************************************************************//**
55
56
read_view_oldest_copy_or_open_new(
56
57
/*==============================*/
57
58
        trx_id_t        cr_trx_id,      /*!< in: trx_id of creating
58
 
                                        transaction, or 0 used in purge */
 
59
                                        transaction, or ut_dulint_zero
 
60
                                        used in purge */
59
61
        mem_heap_t*     heap);          /*!< in: memory heap from which
60
62
                                        allocated */
61
63
/*********************************************************************//**
123
125
 
124
126
struct read_view_struct{
125
127
        ulint           type;   /*!< VIEW_NORMAL, VIEW_HIGH_GRANULARITY */
126
 
        undo_no_t       undo_no;/*!< 0 or if type is
 
128
        undo_no_t       undo_no;/*!< ut_dulint_zero or if type is
127
129
                                VIEW_HIGH_GRANULARITY
128
130
                                transaction undo_no when this high-granularity
129
131
                                consistent read view was created */
154
156
                                that is, up_limit_id and low_limit_id. */
155
157
        trx_id_t        creator_trx_id;
156
158
                                /*!< trx id of creating transaction, or
157
 
                                0 used in purge */
 
159
                                ut_dulint_zero used in purge */
158
160
        UT_LIST_NODE_T(read_view_t) view_list;
159
161
                                /*!< List of read views in trx_sys */
160
162
};