~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/include/btr0btr.ic

  • Committer: Monty Taylor
  • Date: 2010-12-06 21:17:06 UTC
  • mto: (1977.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1980.
  • Revision ID: mordred@inaugust.com-20101206211706-iiuzzkxhh3fm10zf
Add ability to add a validation function to any sys_var. duh.

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
        page_t*         page,   /*!< in: page to be created */
87
87
        page_zip_des_t* page_zip,/*!< in: compressed page whose uncompressed
88
88
                                part will be updated, or NULL */
89
 
        dulint          id,     /*!< in: index id */
 
89
        index_id_t      id,     /*!< in: index id */
90
90
        mtr_t*          mtr)    /*!< in: mtr */
91
91
{
92
92
        if (UNIV_LIKELY_NULL(page_zip)) {
95
95
                                      page + (PAGE_HEADER + PAGE_INDEX_ID),
96
96
                                      8, mtr);
97
97
        } else {
98
 
                mlog_write_dulint(page + (PAGE_HEADER + PAGE_INDEX_ID),
99
 
                                  id, mtr);
 
98
                mlog_write_ull(page + (PAGE_HEADER + PAGE_INDEX_ID), id, mtr);
100
99
        }
101
100
}
102
101
#endif /* !UNIV_HOTBACKUP */
105
104
Gets the index id field of a page.
106
105
@return index id */
107
106
UNIV_INLINE
108
 
dulint
 
107
index_id_t
109
108
btr_page_get_index_id(
110
109
/*==================*/
111
110
        const page_t*   page)   /*!< in: index page */