MySQL 5.6.14 Source Code Document
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
Undo_buffer.hpp
1
/*
2
Copyright (C) 2005-2008 MySQL AB
3
All rights reserved. Use is subject to license terms.
4
5
This program is free software; you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation; version 2 of the License.
8
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
GNU General Public License for more details.
13
14
You should have received a copy of the GNU General Public License
15
along with this program; if not, write to the Free Software
16
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17
*/
18
19
#ifndef __UNDO_BUFFER_HPP
20
#define __UNDO_BUFFER_HPP
21
22
#include <ndb_global.h>
23
#include <kernel_types.h>
24
25
struct
Undo_buffer
26
{
27
Undo_buffer
(
class
Ndbd_mem_manager
*);
28
36
Uint32 *
alloc_copy_tuple
(
Local_key
* dst, Uint32 words);
37
42
void
shrink_copy_tuple
(
Local_key
* dst, Uint32 words);
43
47
void
free_copy_tuple
(
Local_key
* key);
48
52
Uint32 *
get_ptr
(
const
Local_key
* key);
53
54
private
:
55
class
Ndbd_mem_manager
* m_mm;
56
Uint32 m_first_free;
57
};
58
59
#endif
storage
ndb
src
kernel
blocks
dbtup
Undo_buffer.hpp
Generated on Sat Nov 9 2013 01:27:50 for MySQL 5.6.14 Source Code Document by
1.8.1.2