~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Lee Bieber
  • Date: 2010-11-07 19:34:48 UTC
  • mfrom: (1910.1.2 build)
  • Revision ID: kalebral@gmail.com-20101107193448-64kdu912qej354sh
Merge Stewart - including adapting and expanding the "differences from mysql" page from the wiki.
Merge Stewart - fix bug 668143: drizzleslap with --commit runs second iteration data load in a transaction

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*