MySQL 5.6.14 Source Code Document
|
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) |
Definition at line 25 of file Undo_buffer.hpp.
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
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.