~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2010-06-28 16:17:36 UTC
  • mfrom: (1637.4.1 drizzle)
  • Revision ID: brian@gaz-20100628161736-eormhb2mnd551i2h
Merge unused

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 
3
 
Copyright (C) 1994, 2009, Innobase Oy. All Rights Reserved.
 
3
Copyright (c) 1994, 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
11
11
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
12
 
13
13
You should have received a copy of the GNU General Public License along with
14
 
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
15
 
St, Fifth Floor, Boston, MA 02110-1301 USA
 
14
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
 
15
Place, Suite 330, Boston, MA 02111-1307 USA
16
16
 
17
17
*****************************************************************************/
18
18
 
66
66
                                direction */
67
67
#define PAGE_N_RECS      16     /* number of user records on the page */
68
68
#define PAGE_MAX_TRX_ID  18     /* highest id of a trx which may have modified
69
 
                                a record on the page; trx_id_t; defined only
 
69
                                a record on the page; a dulint; defined only
70
70
                                in secondary indexes and in the insert buffer
71
71
                                tree; NOTE: this may be modified only
72
72
                                when the thread has an x-latch to the page,
76
76
                                header which are set in a page create */
77
77
/*----*/
78
78
#define PAGE_LEVEL       26     /* level of the node in an index tree; the
79
 
                                leaf level is the level 0.  This field should
80
 
                                not be written to after page creation. */
81
 
#define PAGE_INDEX_ID    28     /* index id where the page belongs.
82
 
                                This field should not be written to after
83
 
                                page creation. */
 
79
                                leaf level is the level 0 */
 
80
#define PAGE_INDEX_ID    28     /* index id where the page belongs */
84
81
#define PAGE_BTR_SEG_LEAF 36    /* file segment header for the leaf pages in
85
82
                                a B-tree: defined only on the root page of a
86
83
                                B-tree, but not in the root of an ibuf tree */