~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Monty Taylor
  • Date: 2008-07-05 11:08:18 UTC
  • mto: This revision was merged to the branch mainline in revision 62.
  • Revision ID: monty@inaugust.com-20080705110818-xyc8ehdym3r7nf6t
Add Jay's test optoins at the target of make test.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
page_t*
22
22
page_align(
23
23
/*=======*/
24
 
                                /* out: start of the page */
25
 
        const void*     ptr)    /* in: pointer to page frame */
 
24
                        /* out: start of the page */
 
25
        void*   ptr)    /* in: pointer to page frame */
26
26
{
27
27
        return((page_t*) ut_align_down(ptr, UNIV_PAGE_SIZE));
28
28
}
197
197
                                /* out: nonzero if in compact format */
198
198
        const rec_t*    rec)    /* in: record */
199
199
{
200
 
        return(page_is_comp(page_align(rec)));
 
200
        return(page_is_comp(page_align((rec_t*) rec)));
201
201
}
202
202
 
203
203
/****************************************************************