CUBRID Engine
latest
|
Go to the source code of this file.
Classes | |
struct | oid_cache_entry |
Typedefs | |
typedef struct oid_cache_entry | OID_CACHE_ENTRY |
Functions | |
void | oid_set_root (const OID *oid) |
bool | oid_is_root (const OID *oid) |
void | oid_set_serial (const OID *oid) |
bool | oid_is_serial (const OID *oid) |
void | oid_get_serial_oid (OID *oid) |
void | oid_set_partition (const OID *oid) |
bool | oid_is_partition (const OID *oid) |
void | oid_get_partition_oid (OID *oid) |
bool | oid_is_db_class (const OID *oid) |
bool | oid_is_db_attribute (const OID *oid) |
int | oid_compare (const void *a, const void *b) |
unsigned int | oid_hash (const void *key_oid, unsigned int htsize) |
int | oid_compare_equals (const void *key_oid1, const void *key_oid2) |
bool | oid_check_cached_class_oid (const int cache_id, const OID *oid) |
void | oid_set_cached_class_oid (const int cache_id, const OID *oid) |
const char * | oid_get_cached_class_name (const int cache_id) |
bool | oid_is_cached_class_oid (const OID *class_oid) |
OID * | oid_get_rep_read_tran_oid (void) |
bool | oid_is_system_class (const OID *class_oid) |
typedef struct oid_cache_entry OID_CACHE_ENTRY |
Definition at line 327 of file oid.c.
References OID_EQ.
Referenced by logtb_check_class_for_rr_isolation_err(), mvcc_is_mvcc_disabled_class(), qexec_open_scan(), and qo_is_non_mvcc_class_with_index().
Definition at line 243 of file oid.c.
References diff, db_identifier::pageid, db_identifier::slotid, and db_identifier::volid.
Referenced by btree_compare_oid(), ehash_compare_key(), lock_demote_class_lock(), mr_cmpval_object(), mr_cmpval_oid(), mr_data_cmpdisk_object(), mr_data_cmpdisk_oid(), mr_index_cmpdisk_oid(), oidcmp(), pt_find_oid_scan_block(), pt_serial_to_xasl_class_oid_list(), pt_spec_to_xasl_class_oid_list(), qmgr_add_modified_class(), scan_get_index_oidset(), sch_exported_keys_or_cross_reference(), tr_check_recursivity(), ws_check_hash_link(), ws_insert_mop_on_hash_link(), ws_mop(), ws_mop_compare(), and ws_mop_if_exists().
Definition at line 310 of file oid.c.
References OID_EQ.
Referenced by catcls_initialize_class_oid_to_oid_hash_table(), extract_objects(), heap_chkreloc_start(), heap_chnguess_initialize(), locator_all_reference_lockset(), locator_lock_set(), logtb_initialize_tdes(), partition_cache_init(), and serial_initialize_cache_pool().
Definition at line 351 of file oid.c.
References oid_cache_entry::class_name.
Referenced by catcls_find_and_set_cached_class_oid().
OID* oid_get_rep_read_tran_oid | ( | void | ) |
Definition at line 386 of file oid.c.
References oid_Rep_Read_Tran.
Referenced by lock_demote_class_lock(), lock_rep_read_tran(), and lock_wait_state_to_string().
void oid_get_serial_oid | ( | OID * | oid | ) |
Definition at line 171 of file oid.c.
References COPY_OID.
Referenced by serial_alloc_cache_area(), serial_load_attribute_info_of_db_serial(), serial_update_cur_val_of_serial(), xserial_get_current_value_internal(), and xserial_get_next_value_internal().
unsigned int oid_hash | ( | const void * | key_oid, |
unsigned int | htsize | ||
) |
Definition at line 294 of file oid.c.
References oid_cache_entry::oid, and OID_PSEUDO_KEY.
Referenced by catcls_initialize_class_oid_to_oid_hash_table(), extract_objects(), heap_chkreloc_start(), heap_chnguess_initialize(), locator_all_reference_lockset(), locator_lock_set(), logtb_initialize_tdes(), partition_cache_init(), and serial_initialize_cache_pool().
Definition at line 364 of file oid.c.
References i, oid_cache_entry::oid, OID_CACHE_ROOT_CLASS_ID, OID_CACHE_SIZE, and OID_EQ.
Referenced by oid_is_system_class().
Definition at line 219 of file oid.c.
References OID_EQ.
Referenced by btree_key_find_and_insert_delete_mvccid(), and btree_key_insert_new_object().
Definition at line 135 of file oid.c.
References OID_EQ.
Referenced by heap_get_referenced_by(), and tf_disk_to_class().
Definition at line 159 of file oid.c.
References OID_EQ.
Referenced by btree_physical_delete(), mvcc_is_mvcc_disabled_class(), qexec_open_scan(), scan_next_heap_scan(), and scan_next_index_lookup_heap().
Definition at line 400 of file oid.c.
References assert, NULL, oid_is_cached_class_oid(), and OID_ISNULL.
Referenced by heap_prepare_get_context().
Definition at line 339 of file oid.c.
References COPY_OID.
Referenced by boot_client_find_and_cache_class_oids(), and catcls_find_and_set_cached_class_oid().
Definition at line 118 of file oid.c.
References oid_Root_class, db_identifier::pageid, db_identifier::slotid, and db_identifier::volid.
Referenced by boot_create_all_volumes(), boot_initialize_client(), boot_restart_client(), boot_restart_server(), and xboot_emergency_patch().
OID_CACHE_ENTRY oid_Cache[OID_CACHE_SIZE] |
PAGEID oid_Next_tempid = NULL_PAGEID |
const OID oid_Null_oid = { NULL_PAGEID, NULL_SLOTID, NULL_VOLID } |
Definition at line 68 of file oid.c.
Referenced by btree_construct_leafs(), btree_get_next_key_info(), btree_insert(), btree_mvcc_delete(), btree_undo_delete_physical(), heap_set_autoincrement_value(), jsp_pack_object_argument(), mr_cmpval_object(), mr_data_writemem_object(), mr_data_writeval_object(), or_get_current_representation(), qexec_execute_selupd_list_find_class(), qexec_oid_of_duplicate_key_update(), qexec_remove_duplicates_for_replace(), tf_need_permanent_oid(), vid_get_class_object(), and vid_object_to_vobj().
OID* oid_Partition_class_oid = &oid_Partition_class |
|
static |
Definition at line 66 of file oid.c.
Referenced by oid_get_rep_read_tran_oid().
|
static |
Definition at line 39 of file oid.c.
Referenced by oid_set_root().
OID* oid_Root_class_oid = &oid_Root_class |
Definition at line 73 of file oid.c.
Referenced by boot_compact_db(), boot_db_parm_update_heap(), btree_check_all(), btree_check_by_class_oid(), btree_check_locking_for_delete_unique(), btree_check_locking_for_insert_unique(), btree_load_check_fk(), btree_repair_prev_link(), btree_repair_prev_link_by_class_oid(), catalog_check_consistency(), catalog_create(), catalog_dump(), catalog_end_access_with_dir_oid(), catalog_get_cardinality_by_name(), file_tracker_check(), file_tracker_get_and_protect(), file_tracker_interruptable_iterate(), cubload::server_object_loader::flush_records(), heap_check_all_heaps(), heap_check_heap_file(), heap_compact_pages(), heap_does_exist(), heap_get_class_oid_from_page(), heap_get_class_record(), heap_insert_logical(), heap_is_object_not_null(), heap_prepare_get_context(), heap_scancache_start_modify(), cubload::server_object_loader::init(), is_class(), locator_add_root(), locator_all_reference_lockset(), locator_attribute_info_force(), locator_check_all_entries_of_all_btrees(), locator_check_by_class_oid(), locator_check_class_names(), locator_defence_drop_class_name_entry(), locator_force_for_multi_update(), locator_is_exist_class_name_entry(), locator_multi_insert_force(), locator_permoid_class_name(), lock_add_composite_lock(), lock_classes_lock_hint(), lock_get_class_lock(), lock_get_object_lock(), lock_has_lock_on_object(), lock_object(), lock_scan(), lock_unlock_all_shared_get_all_exclusive(), qexec_execute_insert(), qexec_execute_selupd_list(), qexec_for_update_set_class_locks(), qexec_set_class_locks(), sbtree_load_index(), sm_init(), tde_update_keyinfo(), xboot_checkdb_table(), xbtree_find_unique(), xbtree_load_online_index(), xcache_find_xasl_id_for_execute(), xchksum_insert_repl_log_and_demote_table_lock(), xlocator_delete_class_name(), xlocator_fetch(), xlocator_fetch_all(), xlocator_fetch_lockhint_classes(), xlocator_fetch_lockset(), xlocator_find_class_oid(), xlocator_find_lockhint_class_oids(), xlocator_force(), xlocator_get_class(), xlocator_lock_and_fetch_all(), xlocator_reserve_class_name(), xstats_get_statistics_from_server(), xstats_update_all_statistics(), and xstats_update_statistics().
OID* oid_Serial_class_oid = &oid_Serial_class |
Definition at line 76 of file oid.c.
Referenced by serial_update_cur_val_of_serial(), xserial_get_current_value_internal(), and xserial_get_next_value_internal().
OID* oid_User_class_oid = &oid_User_class |
Definition at line 78 of file oid.c.
Referenced by heap_prepare_get_context().