MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Undo_buffer Struct Reference

Public Member Functions

 Undo_buffer (class Ndbd_mem_manager *)
Uint32 * alloc_copy_tuple (Local_key *dst, Uint32 words)
void shrink_copy_tuple (Local_key *dst, Uint32 words)
void free_copy_tuple (Local_key *key)
Uint32 * get_ptr (const Local_key *key)

Detailed Description

Definition at line 25 of file Undo_buffer.hpp.

Member Function Documentation

Uint32 * Undo_buffer::alloc_copy_tuple ( Local_key dst,
Uint32  words 
)

Alloc space for a copy tuple of size words store address to copy in dst supply pointer to original in curr

Returns
0 if unable to alloc space

Definition at line 55 of file Undo_buffer.cpp.

void Undo_buffer::free_copy_tuple ( Local_key key)

Free space for copy tuple at key

Definition at line 105 of file Undo_buffer.cpp.

Uint32 * Undo_buffer::get_ptr ( const Local_key key)

Get pointer to copy tuple

Definition at line 130 of file Undo_buffer.cpp.

void Undo_buffer::shrink_copy_tuple ( Local_key dst,
Uint32  words 
)

Shrink size of copy tuple note: Only shrink latest allocated tuple

Definition at line 96 of file Undo_buffer.cpp.


The documentation for this struct was generated from the following files: