~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/include/mem0mem.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) 1994, 2010, Innobase Oy. All Rights Reserved.
 
3
Copyright (c) 1994, 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
232
232
with mem_free.
233
233
@return own: free storage */
234
234
UNIV_INLINE
235
 
void *
 
235
void*
236
236
mem_alloc_func(
237
237
/*===========*/
238
238
        ulint           n,              /*!< in: requested size in bytes */
359
359
                        to the heap is also the first block in this list,
360
360
                        though it also contains the base node of the list. */
361
361
        ulint   len;    /*!< physical length of this block in bytes */
362
 
        ulint   total_size; /*!< physical length in bytes of all blocks
363
 
                        in the heap. This is defined only in the base
364
 
                        node and is set to ULINT_UNDEFINED in others. */
365
362
        ulint   type;   /*!< type of heap: MEM_HEAP_DYNAMIC, or
366
363
                        MEM_HEAP_BUF possibly ORed to MEM_HEAP_BTR_SEARCH */
367
364
        ulint   free;   /*!< offset in bytes of the first free position for