~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Monty Taylor
  • Date: 2008-10-23 00:05:28 UTC
  • Revision ID: monty@inaugust.com-20081023000528-grdvrd8c4058nutm
Moved my_handler to myisam, which is where it actually belongs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/******************************************************
 
2
File space management
 
3
 
 
4
(c) 1995 Innobase Oy
 
5
 
 
6
Created 12/18/1995 Heikki Tuuri
 
7
*******************************************************/
 
8
 
 
9
/***************************************************************************
 
10
Checks if a page address is an extent descriptor page address. */
 
11
UNIV_INLINE
 
12
ibool
 
13
fsp_descr_page(
 
14
/*===========*/
 
15
                        /* out: TRUE if a descriptor page */
 
16
        ulint   page_no)/* in: page number */
 
17
{
 
18
        if (page_no % XDES_DESCRIBED_PER_PAGE == FSP_XDES_OFFSET) {
 
19
 
 
20
                return(TRUE);
 
21
        }
 
22
 
 
23
        return(FALSE);
 
24
}