CUBRID Engine  latest
transaction_transient.cpp File Reference
#include "transaction_transient.hpp"
#include "es.h"
#include "heap_file.h"
#include "lob_locator.hpp"
#include "oid.h"
#include "memory_hash.h"
#include "memory_private_allocator.hpp"
#include "rb_tree.h"
#include "string_buffer.hpp"
#include "vacuum.h"
#include <cstring>
Include dependency graph for transaction_transient.cpp:

Go to the source code of this file.

Classes

struct  lob_savepoint_entry
 
struct  lob_locator_entry
 

Functions

static void lob_locator_put_meta (const char *locator, std::string &meta_name)
 
static void lob_locator_free (lob_locator_entry *&entry)
 
static int lob_locator_cmp (const lob_locator_entry *e1, const lob_locator_entry *e2)
 
 RB_PROTOTYPE_STATIC (lob_rb_root, lob_locator_entry, head, lob_locator_cmp)
 
int xtx_add_lob_locator (cubthread::entry *thread_p, const char *locator, LOB_LOCATOR_STATE state)
 
LOB_LOCATOR_STATE xtx_find_lob_locator (cubthread::entry *thread_p, const char *locator, char *real_locator)
 
int xtx_change_state_of_locator (cubthread::entry *thread_p, const char *locator, const char *new_locator, LOB_LOCATOR_STATE state)
 
int xtx_drop_lob_locator (cubthread::entry *thread_p, const char *locator)
 
void tx_lob_locator_clear (cubthread::entry *thread_p, log_tdes *tdes, bool at_commit, LOG_LSA *savept_lsa)
 
 RB_GENERATE_STATIC (lob_rb_root, lob_locator_entry, head, lob_locator_cmp)
 

Function Documentation

static int lob_locator_cmp ( const lob_locator_entry e1,
const lob_locator_entry e2 
)
static
static void lob_locator_free ( lob_locator_entry *&  entry)
static

Definition at line 356 of file transaction_transient.cpp.

References NULL, lob_savepoint_entry::prev, and lob_locator_entry::top.

Referenced by tx_lob_locator_clear(), and xtx_drop_lob_locator().

Here is the caller graph for this function:

void lob_locator_put_meta ( const char *  locator,
std::string &  meta_name 
)
static

Definition at line 339 of file transaction_transient.cpp.

References assert, diff, lob_locator_key(), and lob_locator_meta().

Referenced by tx_lob_locator_clear().

Here is the caller graph for this function:

RB_GENERATE_STATIC ( lob_rb_root  ,
lob_locator_entry  ,
head  ,
lob_locator_cmp   
)

Referenced by lob_locator_cmp().

Here is the caller graph for this function:

RB_PROTOTYPE_STATIC ( lob_rb_root  ,
lob_locator_entry  ,
head  ,
lob_locator_cmp   
)