CUBRID Engine
latest
|
#include <mvcc.h>
Public Member Functions | |
mvcc_snapshot () | |
void | reset () |
mvcc_snapshot & | operator= (const mvcc_snapshot &snapshot)=delete |
void | copy_to (mvcc_snapshot &other) const |
Public Attributes | |
MVCCID | lowest_active_mvccid |
MVCCID | highest_completed_mvccid |
mvcc_active_tran | m_active_mvccs |
MVCC_SNAPSHOT_FUNC | snapshot_fnc |
bool | valid |
void mvcc_snapshot::copy_to | ( | mvcc_snapshot & | other | ) | const |
Definition at line 665 of file mvcc.c.
References mvcc_active_tran::copy_to(), highest_completed_mvccid, mvcc_active_tran::initialize(), lowest_active_mvccid, m_active_mvccs, snapshot_fnc, mvcc_active_tran::THREAD_SAFE, and valid.
Referenced by heap_is_object_not_null().
|
delete |
void mvcc_snapshot::reset | ( | void | ) |
Definition at line 653 of file mvcc.c.
References highest_completed_mvccid, lowest_active_mvccid, m_active_mvccs, MVCCID_NULL, NULL, mvcc_active_tran::reset(), snapshot_fnc, and valid.
Referenced by mvcc_info::reset().
MVCCID mvcc_snapshot::highest_completed_mvccid |
Definition at line 172 of file mvcc.h.
Referenced by btree_key_find_first_visible_row(), mvcctable::build_mvcc_info(), copy_to(), logtb_complete_sub_mvcc(), mvcc_is_id_in_snapshot(), mvcc_satisfies_dirty(), and reset().
MVCCID mvcc_snapshot::lowest_active_mvccid |
Definition at line 171 of file mvcc.h.
Referenced by btree_key_find_first_visible_row(), mvcctable::build_mvcc_info(), copy_to(), mvcc_is_id_in_snapshot(), mvcc_satisfies_dirty(), and reset().
mvcc_active_tran mvcc_snapshot::m_active_mvccs |
Definition at line 174 of file mvcc.h.
Referenced by mvcctable::build_mvcc_info(), copy_to(), logtb_complete_sub_mvcc(), logtb_finalize_mvcc_testing(), logtb_free_tran_mvcc_info(), mvcc_is_id_in_snapshot(), and reset().
MVCC_SNAPSHOT_FUNC mvcc_snapshot::snapshot_fnc |
Definition at line 176 of file mvcc.h.
Referenced by btree_key_delete_remove_object(), btree_key_find_and_insert_delete_mvccid(), btree_key_find_first_visible_row(), btree_key_lock_and_append_object_unique(), btree_key_record_check_no_visible(), btree_load_check_fk(), btree_record_get_num_visible_oids(), btree_record_satisfies_snapshot(), btree_select_visible_object_for_range_scan(), btree_sort_get_next(), mvcctable::build_mvcc_info(), copy_to(), heap_get_if_diff_chn(), heap_get_visible_version_from_log(), heap_get_visible_version_internal(), heap_is_object_not_null(), locator_lock_and_get_object_internal(), locator_lock_and_get_object_with_evaluation(), overflow_get_nbytes(), reset(), xbtree_find_unique(), xlocator_fetch(), and xlocator_fetch_all().
bool mvcc_snapshot::valid |
Definition at line 178 of file mvcc.h.
Referenced by mvcctable::build_mvcc_info(), copy_to(), logtb_complete_mvcc(), logtb_complete_sub_mvcc(), logtb_get_mvcc_snapshot(), logtb_invalidate_snapshot_data(), qexec_evaluate_aggregates_optimize(), and reset().