Zero  0.1.0
Classes | Macros | Typedefs | Functions | Variables
logrec.cpp File Reference
#include "w_defines.h"
#include "eventlog.h"
#include "sm_base.h"
#include "vec_t.h"
#include "alloc_cache.h"
#include "vol.h"
#include "restore.h"
#include <sstream>
#include "logrec_support.h"
#include "btree_page_h.h"
#include "btree_logrec.h"
#include <iomanip>
#include <new>
#include "allocator.h"

Classes

struct  update_emlsn_t
 

Macros

#define SM_SOURCE
 
#define LOGREC_C
 

Typedefs

typedef ios::fmtflags ios_fmtflags
 

Functions

 DECLARE_TLS (block_pool< logrec_t >, logrec_pool)
 
 DEFINE_SM_ALLOC (logrec_t)
 
ostream & operator<< (ostream &o, logrec_t &l)
 
template void logrec_t::template redo< btree_page_h * > (btree_page_h *)
 
template void logrec_t::template redo< fixable_page_h * > (fixable_page_h *)
 
template void logrec_t::template undo< fixable_page_h * > (fixable_page_h *)
 
template void update_emlsn_log::template construct< btree_page_h * > (btree_page_h *p, general_recordid_t child_slot, lsn_t child_lsn)
 
template void page_img_format_log::template construct< fixable_page_h * > (fixable_page_h *)
 
template void page_img_format_log::template construct< btree_page_h * > (btree_page_h *)
 
template void create_store_log::template construct< fixable_page_h * > (fixable_page_h *, PageID, StoreID)
 
template void append_extent_log::template construct< fixable_page_h * > (fixable_page_h *, StoreID, extent_id_t)
 
template void alloc_page_log::template construct< fixable_page_h * > (fixable_page_h *, PageID)
 
template void dealloc_page_log::template construct< fixable_page_h * > (fixable_page_h *, PageID)
 

Variables

static __thread logrec_t::kind_t undoing_context = logrec_t::t_max_logrec
 

Macro Definition Documentation

§ LOGREC_C

#define LOGREC_C

§ SM_SOURCE

#define SM_SOURCE

Typedef Documentation

§ ios_fmtflags

Function Documentation

§ construct< btree_page_h * >() [1/2]

template void update_emlsn_log::template construct< btree_page_h *> ( btree_page_h p,
general_recordid_t  child_slot,
lsn_t  child_lsn 
)

§ construct< btree_page_h * >() [2/2]

template void page_img_format_log::template construct< btree_page_h *> ( btree_page_h )

§ construct< fixable_page_h * >() [1/5]

template void page_img_format_log::template construct< fixable_page_h *> ( fixable_page_h )

§ construct< fixable_page_h * >() [2/5]

template void create_store_log::template construct< fixable_page_h *> ( fixable_page_h ,
PageID  ,
StoreID   
)

§ construct< fixable_page_h * >() [3/5]

template void append_extent_log::template construct< fixable_page_h *> ( fixable_page_h ,
StoreID  ,
extent_id_t   
)

§ construct< fixable_page_h * >() [4/5]

template void alloc_page_log::template construct< fixable_page_h *> ( fixable_page_h ,
PageID   
)

§ construct< fixable_page_h * >() [5/5]

template void dealloc_page_log::template construct< fixable_page_h *> ( fixable_page_h ,
PageID   
)

§ DECLARE_TLS()

DECLARE_TLS ( block_pool< logrec_t ,
logrec_pool   
)

§ DEFINE_SM_ALLOC()

DEFINE_SM_ALLOC ( logrec_t  )

§ operator<<()

ostream& operator<< ( ostream &  o,
logrec_t l 
)

§ redo< btree_page_h * >()

template void logrec_t::template redo< btree_page_h *> ( btree_page_h )

§ redo< fixable_page_h * >()

template void logrec_t::template redo< fixable_page_h *> ( fixable_page_h )

§ undo< fixable_page_h * >()

template void logrec_t::template undo< fixable_page_h *> ( fixable_page_h )

Variable Documentation

§ undoing_context

__thread logrec_t::kind_t undoing_context = logrec_t::t_max_logrec
static