~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Monty Taylor
  • Date: 2010-12-03 19:56:07 UTC
  • mto: (1975.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1976.
  • Revision ID: mordred@inaugust.com-20101203195607-yw50aynlw04dt5k6
All protocol stuff except for the buffer_length. WTF?

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 
3
 
Copyright (C) 2006, 2009, Innobase Oy. All Rights Reserved.
 
3
Copyright (c) 2006, 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
35
35
 
36
36
/**********************************************************************//**
37
37
Allocate a block.  The thread calling this function must hold
38
 
buf_pool->mutex and must not hold buf_pool->zip_mutex or any block->mutex.
 
38
buf_pool->mutex and must not hold buf_pool_zip_mutex or any block->mutex.
39
39
The buf_pool->mutex may only be released and reacquired if lru != NULL.
40
40
@return allocated block, possibly NULL if lru==NULL */
41
41
UNIV_INTERN
86
86
 
87
87
/**********************************************************************//**
88
88
Allocate a block.  The thread calling this function must hold
89
 
buf_pool->mutex and must not hold buf_pool->zip_mutex or any
 
89
buf_pool->mutex and must not hold buf_pool_zip_mutex or any
90
90
block->mutex.  The buf_pool->mutex may only be released and reacquired
91
91
if lru != NULL.  This function should only be used for allocating
92
92
compressed page frames or control blocks (buf_page_t).  Allocated