~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

Merge Stewart.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 
3
 
Copyright (C) 2005, 2009, Innobase Oy. All Rights Reserved.
 
3
Copyright (c) 2005, 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
 
127
127
/*================*/
128
128
        page_zip_des_t* page_zip,/*!< in: data, ssize;
129
129
                                out: m_start, m_end, m_nonempty, n_blobs */
130
 
        page_t*         page,   /*!< out: uncompressed page, may be trashed */
131
 
        ibool           all)    /*!< in: TRUE=decompress the whole page;
132
 
                                FALSE=verify but do not copy some
133
 
                                page header fields that should not change
134
 
                                after page creation */
135
 
        __attribute__((nonnull(1,2)));
 
130
        page_t*         page)   /*!< out: uncompressed page, may be trashed */
 
131
        __attribute__((nonnull));
136
132
 
137
133
#ifdef UNIV_DEBUG
138
134
/**********************************************************************//**
323
319
non-clustered index, the caller must update the insert buffer free
324
320
bits in the same mini-transaction in such a way that the modification
325
321
will be redo-logged.
326
 
@return TRUE on success, FALSE on failure; page_zip will be left
327
 
intact on failure, but page will be overwritten. */
 
322
@return TRUE on success, FALSE on failure; page and page_zip will be
 
323
left intact on failure. */
328
324
UNIV_INTERN
329
325
ibool
330
326
page_zip_reorganize(