~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Monty Taylor
  • Date: 2010-10-08 17:32:00 UTC
  • mto: This revision was merged to the branch mainline in revision 1833.
  • Revision ID: mordred@inaugust.com-20101008173200-iq22jo2nic48noa3
Updated pandora-build files to version 0.157

Show diffs side-by-side

added added

removed removed

Lines of Context:
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*