~ubuntu-43/undrop-for-innodb/pierre

« back to all changes in this revision

Viewing changes to include/fsp0fsp.ic

  • Committer: root
  • Date: 2014-06-22 09:59:20 UTC
  • Revision ID: root@twindb-dev-20140622095920-0atlkgy80imht7hj
daily commit

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
}