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

#include <RWPool.hpp>

Collaboration diagram for RWPool:

Public Member Functions

void init (const Record_info &ri, const Pool_context &pc)
bool seize (Ptr< void > &)
void release (Ptr< void >)
void * getPtr (Uint32 i)
void * getPtr (const Record_info &ri, Uint32 i)
 STATIC_CONST (WORDS_PER_PAGE=RWPage::RWPAGE_WORDS)

Public Attributes

Record_info m_record_info
RWPagem_memroot
RWPagem_current_page
Pool_context m_ctx
Uint32 m_first_free_page
Uint32 m_current_page_no
Uint16 m_current_pos
Uint16 m_current_first_free
Uint16 m_current_ref_count

Detailed Description

Read Write Pool

Definition at line 38 of file RWPool.hpp.

Member Function Documentation

void RWPool::release ( Ptr< void >  ptr)

It was full...add to free page list

It's now empty...release it

Definition at line 121 of file RWPool.cpp.

Here is the call graph for this function:


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