~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2008-11-03 03:49:00 UTC
  • mfrom: (520.4.50 devel)
  • Revision ID: brian@tangent.org-20081103034900-znhvcgtipr3tlel5
Merging in Monty's work

Show diffs side-by-side

added added

removed removed

Lines of Context:
148
148
/*=======*/
149
149
                                /* out: start of the page */
150
150
        const void*     ptr)    /* in: pointer to page frame */
151
 
                __attribute__((const));
 
151
                __attribute__((__const__));
152
152
/****************************************************************
153
153
Gets the offset within a page. */
154
154
UNIV_INLINE
157
157
/*========*/
158
158
                                /* out: offset from the start of the page */
159
159
        const void*     ptr)    /* in: pointer to page frame */
160
 
                __attribute__((const));
 
160
                __attribute__((__const__));
161
161
/*****************************************************************
162
162
Returns the max trx id field value. */
163
163
UNIV_INLINE
536
536
/*=====================*/
537
537
                        /* out: TRUE if a user record */
538
538
        ulint   offset) /* in: record offset on page */
539
 
        __attribute__((const));
 
539
        __attribute__((__const__));
540
540
/****************************************************************
541
541
TRUE if the record is the supremum record on a page. */
542
542
UNIV_INLINE
545
545
/*=====================*/
546
546
                        /* out: TRUE if the supremum record */
547
547
        ulint   offset) /* in: record offset on page */
548
 
        __attribute__((const));
 
548
        __attribute__((__const__));
549
549
/****************************************************************
550
550
TRUE if the record is the infimum record on a page. */
551
551
UNIV_INLINE
554
554
/*====================*/
555
555
                        /* out: TRUE if the infimum record */
556
556
        ulint   offset) /* in: record offset on page */
557
 
        __attribute__((const));
 
557
        __attribute__((__const__));
558
558
 
559
559
/****************************************************************
560
560
TRUE if the record is a user record on the page. */
564
564
/*=================*/
565
565
                                /* out: TRUE if a user record */
566
566
        const rec_t*    rec)    /* in: record */
567
 
        __attribute__((const));
 
567
        __attribute__((__const__));
568
568
/****************************************************************
569
569
TRUE if the record is the supremum record on a page. */
570
570
UNIV_INLINE
573
573
/*=================*/
574
574
                                /* out: TRUE if the supremum record */
575
575
        const rec_t*    rec)    /* in: record */
576
 
        __attribute__((const));
 
576
        __attribute__((__const__));
577
577
 
578
578
/****************************************************************
579
579
TRUE if the record is the infimum record on a page. */
583
583
/*================*/
584
584
                                /* out: TRUE if the infimum record */
585
585
        const rec_t*    rec)    /* in: record */
586
 
        __attribute__((const));
 
586
        __attribute__((__const__));
587
587
/*******************************************************************
588
588
Looks for the record which owns the given record. */
589
589
UNIV_INLINE
634
634
/*=========================*/
635
635
                        /* out: free space */
636
636
        ulint   comp)   /* in: nonzero=compact page format */
637
 
                __attribute__((const));
 
637
                __attribute__((__const__));
638
638
/**************************************************************
639
639
Returns the base extra size of a physical record.  This is the
640
640
size of the fixed header, independent of the record size. */