CUBRID Engine  latest
lob_locator.cpp File Reference
#include "lob_locator.hpp"
#include "porting.h"
#include "transaction_transient.hpp"
#include <cstring>
#include <string>
Include dependency graph for lob_locator.cpp:

Go to the source code of this file.

Functions

bool lob_locator_is_valid (const char *locator)
 
const char * lob_locator_key (const char *locator)
 
const char * lob_locator_meta (const char *locator)
 
LOB_LOCATOR_STATE lob_locator_find (const char *locator, char *real_locator)
 
int lob_locator_add (const char *locator, LOB_LOCATOR_STATE state)
 
int lob_locator_change_state (const char *locator, const char *new_locator, LOB_LOCATOR_STATE state)
 
int lob_locator_drop (const char *locator)
 

Function Documentation

int lob_locator_add ( const char *  locator,
LOB_LOCATOR_STATE  state 
)

Definition at line 88 of file lob_locator.cpp.

References NULL, and xtx_add_lob_locator().

Referenced by elo_copy(), elo_create(), and elo_delete().

Here is the caller graph for this function:

int lob_locator_change_state ( const char *  locator,
const char *  new_locator,
LOB_LOCATOR_STATE  state 
)

Definition at line 105 of file lob_locator.cpp.

References NULL, and xtx_change_state_of_locator().

Referenced by elo_copy(), and elo_delete().

Here is the caller graph for this function:

int lob_locator_drop ( const char *  locator)

Definition at line 120 of file lob_locator.cpp.

References NULL, and xtx_drop_lob_locator().

Referenced by elo_copy(), and elo_delete().

Here is the caller graph for this function:

LOB_LOCATOR_STATE lob_locator_find ( const char *  locator,
char *  real_locator 
)

Definition at line 72 of file lob_locator.cpp.

References NULL, and xtx_find_lob_locator().

Referenced by elo_copy(), and elo_delete().

Here is the caller graph for this function:

bool lob_locator_is_valid ( const char *  locator)

Definition at line 37 of file lob_locator.cpp.

References lob_locator_key(), lob_locator_meta(), and NULL.

Referenced by tx_lob_locator_clear(), xtx_add_lob_locator(), xtx_change_state_of_locator(), xtx_drop_lob_locator(), and xtx_find_lob_locator().

Here is the caller graph for this function:

const char* lob_locator_key ( const char *  locator)

Definition at line 54 of file lob_locator.cpp.

Referenced by lob_locator_is_valid(), lob_locator_put_meta(), xtx_add_lob_locator(), xtx_change_state_of_locator(), xtx_drop_lob_locator(), and xtx_find_lob_locator().

Here is the caller graph for this function:

const char* lob_locator_meta ( const char *  locator)

Definition at line 60 of file lob_locator.cpp.

References PATH_SEPARATOR.

Referenced by lob_locator_is_valid(), and lob_locator_put_meta().

Here is the caller graph for this function: