~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: patrick crews
  • Date: 2010-10-07 19:35:15 UTC
  • mto: (1819.2.4 drizzle)
  • mto: This revision was merged to the branch mainline in revision 1825.
  • Revision ID: gleebix@gmail.com-20101007193515-jr6y1uz710lzte1o
Initial work on lp bug#656423 - remove use of 'mysql' from test-run tool.  Removed / substituted mtr->dtr mysql->drizzle.  Removed perl errors, but server won't start due to boost error.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 
3
 
Copyright (C) 1995, 2009, Innobase Oy. All Rights Reserved.
 
3
Copyright (c) 1995, 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
47
47
Writes the corresponding log record to the mini-transaction log. */
48
48
UNIV_INTERN
49
49
void
50
 
mlog_write_ull(
51
 
/*===========*/
52
 
        byte*           ptr,    /*!< in: pointer where to write */
53
 
        ib_uint64_t     val,    /*!< in: value to write */
54
 
        mtr_t*          mtr);   /*!< in: mini-transaction handle */
 
50
mlog_write_dulint(
 
51
/*==============*/
 
52
        byte*   ptr,    /*!< in: pointer where to write */
 
53
        dulint  val,    /*!< in: value to write */
 
54
        mtr_t*  mtr);   /*!< in: mini-transaction handle */
55
55
/********************************************************//**
56
56
Writes a string to a file page buffered in the buffer pool. Writes the
57
57
corresponding log record to the mini-transaction log. */
125
125
        mtr_t*  mtr,    /*!< in: mtr */
126
126
        ulint   val);   /*!< in: value to write */
127
127
/********************************************************//**
128
 
Catenates a compressed 64-bit integer to mlog. */
 
128
Catenates a compressed dulint to mlog. */
129
129
UNIV_INLINE
130
130
void
131
 
mlog_catenate_ull_compressed(
132
 
/*=========================*/
133
 
        mtr_t*          mtr,    /*!< in: mtr */
134
 
        ib_uint64_t     val);   /*!< in: value to write */
 
131
mlog_catenate_dulint_compressed(
 
132
/*============================*/
 
133
        mtr_t*  mtr,    /*!< in: mtr */
 
134
        dulint  val);   /*!< in: value to write */
135
135
/********************************************************//**
136
136
Opens a buffer to mlog. It must be closed with mlog_close.
137
137
@return buffer, NULL if log mode MTR_LOG_NONE */
183
183
        ulint*  space,  /*!< out: space id */
184
184
        ulint*  page_no);/*!< out: page number */
185
185
/********************************************************//**
186
 
Parses a log record written by mlog_write_ulint or mlog_write_ull.
 
186
Parses a log record written by mlog_write_ulint or mlog_write_dulint.
187
187
@return parsed record end, NULL if not a complete record */
188
188
UNIV_INTERN
189
189
byte*