CUBRID Engine  latest
db_info.c File Reference
#include "config.h"
#include "authenticate.h"
#include "boot_cl.h"
#include "class_object.h"
#include "db.h"
#include "dbtype.h"
#include "locator_cl.h"
#include "mem_block.hpp"
#include "network_interface_cl.h"
#include "object_accessor.h"
#include "object_primitive.h"
#include "object_print.h"
#include "object_printer.hpp"
#include "parser.h"
#include "schema_manager.h"
#include "schema_template.h"
#include "server_interface.h"
#include "set_object.h"
#include "storage_common.h"
#include "string_buffer.hpp"
#include "system_parameter.h"
#include "virtual_object.h"
#include <assert.h>
#include <ctype.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>

Go to the source code of this file.

Functions

DB_OBJECTdb_find_class_of_index (const char *const index_name, const DB_CONSTRAINT_TYPE index_type)
 
DB_OBJECTdb_find_class (const char *name)
 
DB_OBJECTdb_find_class_with_purpose (const char *name, bool for_update)
 
DB_OBJLISTdb_fetch_all_objects (DB_OBJECT *op, DB_FETCH_MODE purpose)
 
DB_OBJLISTdb_fetch_all_classes (DB_FETCH_MODE purpose)
 
DB_OBJLISTdb_fetch_base_classes (DB_FETCH_MODE purpose)
 
DB_OBJLISTdb_get_all_objects (DB_OBJECT *op)
 
DB_OBJLISTdb_get_all_classes (void)
 
DB_OBJLISTdb_get_base_classes (void)
 
int db_is_class (MOP obj)
 
int db_is_any_class (MOP obj)
 
int db_is_instance (MOP obj)
 
int db_is_instance_of (MOP obj, MOP class_)
 
int db_is_subclass (MOP classmop, MOP supermop)
 
int db_is_superclass (MOP supermop, MOP classmop)
 
int db_is_partition (DB_OBJECT *classobj, DB_OBJECT *superobj)
 
int db_is_system_class (MOP op)
 
int db_is_deleted (DB_OBJECT *obj)
 
DB_OBJECTdb_get_class (MOP obj)
 
const char * db_get_class_name (DB_OBJECT *class_)
 
DB_OBJLISTdb_get_superclasses (DB_OBJECT *obj)
 
DB_OBJLISTdb_get_subclasses (DB_OBJECT *obj)
 
int db_class_has_instance (DB_OBJECT *classobj)
 
const char * db_get_type_name (DB_TYPE type_id)
 
DB_TYPE db_type_from_string (const char *name)
 
DB_ATTRIBUTEdb_get_attribute (DB_OBJECT *obj, const char *name)
 
DB_ATTRIBUTEdb_get_attribute_by_name (const char *class_name, const char *attribute_name)
 
DB_ATTRIBUTEdb_get_shared_attribute (DB_OBJECT *obj, const char *name)
 
DB_ATTRIBUTEdb_get_class_attribute (DB_OBJECT *obj, const char *name)
 
DB_ATTRIBUTEdb_get_attributes (DB_OBJECT *obj)
 
DB_ATTRIBUTEdb_get_class_attributes (DB_OBJECT *obj)
 
DB_ATTRIBUTEdb_get_ordered_attributes (DB_OBJECT *obj)
 
DB_TYPE db_attribute_type (DB_ATTRIBUTE *attribute)
 
DB_ATTRIBUTEdb_attribute_next (DB_ATTRIBUTE *attribute)
 
DB_ATTRIBUTEdb_attribute_ordered_next (DB_ATTRIBUTE *attribute)
 
const char * db_attribute_name (DB_ATTRIBUTE *attribute)
 
const char * db_attribute_comment (DB_ATTRIBUTE *attribute)
 
int db_attribute_length (DB_ATTRIBUTE *attribute)
 
int db_attribute_id (DB_ATTRIBUTE *attribute)
 
int db_attribute_order (DB_ATTRIBUTE *attribute)
 
DB_DOMAINdb_attribute_domain (DB_ATTRIBUTE *attribute)
 
DB_OBJECTdb_attribute_class (DB_ATTRIBUTE *attribute)
 
DB_VALUEdb_attribute_default (DB_ATTRIBUTE *attribute)
 
int db_attribute_is_unique (DB_ATTRIBUTE *attribute)
 
int db_attribute_is_primary_key (DB_ATTRIBUTE *attribute)
 
int db_attribute_is_foreign_key (DB_ATTRIBUTE *attribute)
 
int db_attribute_is_auto_increment (DB_ATTRIBUTE *attribute)
 
int db_attribute_is_reverse_unique (DB_ATTRIBUTE *attribute)
 
int db_attribute_is_non_null (DB_ATTRIBUTE *attribute)
 
int db_attribute_is_indexed (DB_ATTRIBUTE *attribute)
 
int db_attribute_is_reverse_indexed (DB_ATTRIBUTE *attribute)
 
int db_attribute_is_shared (DB_ATTRIBUTE *attribute)
 
DB_METHODdb_get_method (DB_OBJECT *obj, const char *name)
 
DB_METHODdb_get_class_method (DB_OBJECT *obj, const char *name)
 
DB_METHODdb_get_methods (DB_OBJECT *obj)
 
DB_METHODdb_get_class_methods (DB_OBJECT *obj)
 
DB_METHODdb_method_next (DB_METHOD *method)
 
const char * db_method_name (DB_METHOD *method)
 
const char * db_method_function (DB_METHOD *method)
 
DB_OBJECTdb_method_class (DB_METHOD *method)
 
DB_DOMAINdb_method_return_domain (DB_METHOD *method)
 
DB_DOMAINdb_method_arg_domain (DB_METHOD *method, int arg)
 
int db_method_arg_count (DB_METHOD *method)
 
DB_RESOLUTIONdb_get_resolutions (DB_OBJECT *obj)
 
DB_RESOLUTIONdb_get_class_resolutions (DB_OBJECT *obj)
 
DB_RESOLUTIONdb_resolution_next (DB_RESOLUTION *resolution)
 
DB_OBJECTdb_resolution_class (DB_RESOLUTION *resolution)
 
const char * db_resolution_name (DB_RESOLUTION *resolution)
 
const char * db_resolution_alias (DB_RESOLUTION *resolution)
 
int db_resolution_isclass (DB_RESOLUTION *resolution)
 
DB_CONSTRAINTdb_get_constraints (DB_OBJECT *obj)
 
DB_CONSTRAINTdb_constraint_next (DB_CONSTRAINT *constraint)
 
DB_CONSTRAINTdb_constraint_find_primary_key (DB_CONSTRAINT *constraint)
 
DB_CONSTRAINT_TYPE db_constraint_type (const DB_CONSTRAINT *constraint)
 
const char * db_constraint_name (DB_CONSTRAINT *constraint)
 
DB_ATTRIBUTE ** db_constraint_attributes (DB_CONSTRAINT *constraint)
 
const int * db_constraint_asc_desc (DB_CONSTRAINT *constraint)
 
const int * db_constraint_prefix_length (DB_CONSTRAINT *constraint)
 
BTIDdb_constraint_index (DB_CONSTRAINT *constraint, BTID *index)
 
DB_OBJECTdb_get_foreign_key_ref_class (DB_CONSTRAINT *constraint)
 
const char * db_get_foreign_key_action (DB_CONSTRAINT *constraint, DB_FK_ACTION_TYPE type)
 
DB_METHFILEdb_get_method_files (DB_OBJECT *obj)
 
DB_METHFILEdb_methfile_next (DB_METHFILE *methfile)
 
const char * db_methfile_name (DB_METHFILE *methfile)
 
const char * db_get_loader_commands (DB_OBJECT *obj)
 
DB_OBJLISTdb_objlist_next (DB_OBJLIST *link)
 
DB_OBJECTdb_objlist_object (DB_OBJLIST *link)
 
int db_get_class_num_objs_and_pages (DB_OBJECT *classmop, int approximation, int *nobjs, int *npages)
 
int db_get_class_privilege (DB_OBJECT *mop, unsigned int *auth)
 
int db_get_btree_statistics (DB_CONSTRAINT *cons, int *num_leaf_pages, int *num_total_pages, int *num_keys, int *height)
 
int db_get_schema_def_dbval (DB_VALUE *result, DB_VALUE *name_val)
 

Function Documentation

const char* db_attribute_comment ( DB_ATTRIBUTE attribute)

Definition at line 1083 of file db_info.c.

References sm_attribute::comment, and NULL.

Referenced by class_attr_info().

Here is the caller graph for this function:

int db_attribute_id ( DB_ATTRIBUTE attribute)

Definition at line 1124 of file db_info.c.

References sm_attribute::id, and NULL.

int db_attribute_is_auto_increment ( DB_ATTRIBUTE attribute)
int db_attribute_is_foreign_key ( DB_ATTRIBUTE attribute)

Definition at line 1282 of file db_info.c.

References sm_attribute::constraints, sm_constraint::next, NULL, SM_CONSTRAINT_FOREIGN_KEY, and sm_constraint::type.

Referenced by set_column_info(), and sm_att_fk_constrained().

Here is the caller graph for this function:

int db_attribute_is_indexed ( DB_ATTRIBUTE attribute)

Definition at line 1375 of file db_info.c.

References sm_attribute::constraints, sm_constraint::next, NULL, SM_IS_CONSTRAINT_INDEX_FAMILY, and sm_constraint::type.

Referenced by class_attr_info(), and emit_instance_attributes().

Here is the caller graph for this function:

int db_attribute_is_non_null ( DB_ATTRIBUTE attribute)
int db_attribute_is_primary_key ( DB_ATTRIBUTE attribute)

Definition at line 1255 of file db_info.c.

References sm_attribute::constraints, sm_constraint::next, NULL, SM_CONSTRAINT_PRIMARY_KEY, and sm_constraint::type.

Referenced by class_attr_info(), is_attribute_primary_key(), pt_check_defaultf(), and set_column_info().

Here is the caller graph for this function:

int db_attribute_is_reverse_indexed ( DB_ATTRIBUTE attribute)

Definition at line 1402 of file db_info.c.

References sm_attribute::constraints, sm_constraint::next, NULL, SM_IS_CONSTRAINT_REVERSE_INDEX_FAMILY, and sm_constraint::type.

Referenced by set_column_info().

Here is the caller graph for this function:

int db_attribute_is_reverse_unique ( DB_ATTRIBUTE attribute)

Definition at line 1328 of file db_info.c.

References sm_attribute::constraints, sm_constraint::next, NULL, SM_CONSTRAINT_REVERSE_UNIQUE, and sm_constraint::type.

Referenced by class_attr_info(), emit_instance_attributes(), and set_column_info().

Here is the caller graph for this function:

int db_attribute_is_unique ( DB_ATTRIBUTE attribute)

Definition at line 1228 of file db_info.c.

References sm_attribute::constraints, sm_constraint::next, NULL, SM_CONSTRAINT_PRIMARY_KEY, SM_CONSTRAINT_UNIQUE, and sm_constraint::type.

Referenced by class_attr_info(), emit_instance_attributes(), and set_column_info().

Here is the caller graph for this function:

int db_attribute_length ( DB_ATTRIBUTE attribute)

Definition at line 1102 of file db_info.c.

References sm_attribute::domain, and tp_domain::precision.

int db_attribute_order ( DB_ATTRIBUTE attribute)

Definition at line 1144 of file db_info.c.

References NULL, and sm_attribute::order.

Referenced by class_attr_info(), emit_class_meta(), and ldr_compare_attribute_with_meta().

Here is the caller graph for this function:

DB_ATTRIBUTE* db_attribute_ordered_next ( DB_ATTRIBUTE attribute)

Definition at line 1047 of file db_info.c.

References NULL, and sm_attribute::order_link.

int db_class_has_instance ( DB_OBJECT classobj)
const int* db_constraint_asc_desc ( DB_CONSTRAINT constraint)

Definition at line 2070 of file db_info.c.

References sm_class_constraint::asc_desc, and NULL.

Referenced by chksum_print_lower_bound_string(), chksum_print_pk_list(), do_create_midxkey_for_constraint(), and emit_index_def().

Here is the caller graph for this function:

DB_CONSTRAINT* db_constraint_find_primary_key ( DB_CONSTRAINT constraint)

Definition at line 1956 of file db_info.c.

References db_constraint_next(), NULL, SM_CONSTRAINT_PRIMARY_KEY, and sm_class_constraint::type.

Referenced by chksum_start(), sch_exported_keys_or_cross_reference(), and sch_imported_keys().

Here is the caller graph for this function:

BTID* db_constraint_index ( DB_CONSTRAINT constraint,
BTID index 
)

Definition at line 2107 of file db_info.c.

References BTID_COPY, sm_class_constraint::index_btid, and NULL.

Referenced by util_get_class_oids_and_index_btid().

Here is the caller graph for this function:

const char* db_constraint_name ( DB_CONSTRAINT constraint)

Definition at line 2031 of file db_info.c.

References sm_class_constraint::name, and NULL.

Referenced by fetch_constraint(), sch_exported_keys_or_cross_reference(), and sch_imported_keys().

Here is the caller graph for this function:

const int* db_constraint_prefix_length ( DB_CONSTRAINT constraint)

Definition at line 2089 of file db_info.c.

References sm_class_constraint::attrs_prefix_length, and NULL.

Referenced by emit_index_def().

Here is the caller graph for this function:

DB_OBJLIST* db_fetch_all_classes ( DB_FETCH_MODE  purpose)

Definition at line 203 of file db_info.c.

References CHECK_CONNECT_NULL, and sm_fetch_all_classes().

Referenced by chksum_start(), db_find_class_of_index(), and help_class_names().

Here is the caller graph for this function:

DB_OBJLIST* db_fetch_base_classes ( DB_FETCH_MODE  purpose)

Definition at line 223 of file db_info.c.

References CHECK_CONNECT_NULL, and sm_fetch_all_base_classes().

DB_OBJECT* db_find_class ( const char *  name)

Definition at line 133 of file db_info.c.

References CHECK_1ARG_NULL, CHECK_CONNECT_NULL, and sm_find_class().

Referenced by au_add_method_check_authorization(), au_find_user(), au_find_user_to_drop(), chksum_init_checksum_tables(), chksum_report(), clist_init(), convert_speclist_to_objlist(), db_gadget_create(), db_get_attribute_by_name(), do_add_resolutions(), do_add_supers(), do_alter_change_auto_increment(), do_alter_change_col_comment(), do_alter_change_default_cs_coll(), do_alter_change_tbl_comment(), do_alter_clause_change_attribute(), do_alter_clause_drop_index(), do_alter_index_comment(), do_alter_index_rebuild(), do_alter_index_status(), do_alter_one_clause_with_template(), do_create_entity(), do_create_index(), do_create_trigger(), do_drop_index(), do_get_stats(), do_grant(), do_is_partitioned_subclass(), do_recreate_renamed_class_indexes(), do_rename_internal(), do_revoke(), do_update_stats(), drop_class_name(), emit_stored_procedure(), fetch_attribute(), help_print_info(), jsp_add_stored_procedure(), jsp_add_stored_procedure_argument(), jsp_find_stored_procedure(), la_apply_delete_log(), la_apply_insert_log(), la_apply_update_log(), la_get_ha_apply_info(), ldr_act_set_ref_class(), ldr_compare_storage_order(), ldr_find_class(), load_has_authorization(), optimizedb(), pt_attr_refers_to_self(), pt_check_attribute_domain(), pt_check_create_index(), pt_check_cume_dist_percent_rank_order_by(), pt_check_drop(), pt_check_truncate(), pt_check_union_type_compatibility_of_values_query(), pt_check_with_info(), pt_data_type_to_db_domain(), pt_find_users_class(), pt_fold_const_expr(), pt_node_data_type_to_db_domain(), pt_resolve_default_external(), pt_resolve_using_index(), pt_semantic_check_local(), pt_set_domain_class(), pt_type_assignable(), pt_vclass_compatible(), sch_attr_priv(), sch_class_priv(), sch_constraint(), sch_exported_keys_or_cross_reference(), sch_imported_keys(), sch_methfile_info(), sch_method_info(), sch_primary_key(), sch_superclass(), set_column_info(), sm_update_catalog_statistics(), synccoll_force(), trigger_to_object(), truncate_class_name(), truncate_need_repl_log(), update_locksets_for_multiple_rename(), ux_get_attr_type_str(), and ux_get_class_num_objs().

DB_OBJECT* db_find_class_with_purpose ( const char *  name,
bool  for_update 
)

Definition at line 153 of file db_info.c.

References CHECK_1ARG_NULL, CHECK_CONNECT_NULL, and sm_find_class_with_purpose().

Referenced by pt_check_drop(), pt_find_class(), pt_make_flat_name_list(), and pt_resolve_partition_spec().

Here is the caller graph for this function:

DB_OBJLIST* db_get_all_classes ( void  )

Definition at line 267 of file db_info.c.

References CHECK_CONNECT_NULL, DB_FETCH_QUERY_READ, and sm_fetch_all_classes().

Referenced by sch_class_priv().

Here is the caller graph for this function:

DB_OBJLIST* db_get_all_objects ( DB_OBJECT op)

Definition at line 246 of file db_info.c.

References CHECK_1ARG_NULL, CHECK_CONNECT_NULL, DB_FETCH_QUERY_READ, and sm_fetch_all_objects().

Referenced by au_start(), and emit_stored_procedure().

Here is the caller graph for this function:

DB_ATTRIBUTE* db_get_attribute_by_name ( const char *  class_name,
const char *  attribute_name 
)

Definition at line 823 of file db_info.c.

References db_find_class(), db_get_attribute(), and NULL.

Referenced by is_attribute_primary_key(), pt_check_defaultf(), and pt_resolve_default_value().

Here is the caller graph for this function:

DB_OBJLIST* db_get_base_classes ( void  )

Definition at line 284 of file db_info.c.

References CHECK_CONNECT_NULL, DB_FETCH_QUERY_READ, and sm_fetch_all_base_classes().

DB_ATTRIBUTE* db_get_class_attributes ( DB_OBJECT obj)
DB_METHOD* db_get_class_methods ( DB_OBJECT obj)
const char* db_get_class_name ( DB_OBJECT class_)

Definition at line 608 of file db_info.c.

References CHECK_1ARG_NULL, CHECK_CONNECT_NULL, and sm_get_ch_name().

Referenced by au_get_new_auth(), check_object_domain(), chksum_start(), class_attr_info(), db_gadget_bind(), db_query_format_class_name(), db_validate(), db_validate_query_spec(), dbmeth_class_name(), object_printer::describe_class(), do_alter_clause_change_attribute(), do_check_rows_for_null(), emit_class_attributes(), emit_class_meta(), emit_class_owner(), emit_domain_def(), emit_foreign_key(), emit_index_def(), emit_instance_attributes(), emit_methods(), emit_partition_info(), emit_query_specs(), emit_query_specs_has_using_index(), emit_resolution_def(), emit_resolutions(), emit_reverse_unique_def(), emit_schema(), emit_superclasses(), emit_unique_def(), fetch_trigger(), find_instance(), fn_oid(), get_domain_str(), get_name_from_class_oid(), help_class_names(), ldr_class_name(), ldr_process_object_ref(), mq_check_authorization_path_entities(), mq_check_non_updatable_vclass_oid(), mq_evaluate_check_option(), mq_fetch_expression_for_real_class_update(), mq_fetch_one_real_class_get_cache(), mq_fetch_subqueries(), mq_fetch_subqueries_for_update_local(), mq_get_expression(), mq_set_non_updatable_oid(), mq_set_types(), mq_substitute_path(), mq_translate_tree(), mq_translate_value(), mq_virtual_queries(), object_to_string(), orp_oid_get_classname(), otable_insert(), otable_reserve(), pt_add_type_to_set(), pt_check_alter(), pt_check_drop(), pt_check_mutable_attributes(), pt_compile_trigger_stmt(), pt_copy_data_type_entity(), pt_eval_path_expr(), pt_find_class_of_index(), pt_get_attributes(), pt_get_object_data_type(), pt_help_show_create_table(), pt_make_subclass_list(), pt_resolve_object(), pt_to_method_sig_list(), pt_validate_query_spec(), rm_api_get_info(), sch_class_priv(), sch_exported_keys_or_cross_reference(), sch_imported_keys(), sch_superclass(), show_statistics(), sm_get_descriptor_component(), sm_truncate_using_delete(), smt_add_super(), tp_check_value_size(), tr_create_trigger(), tr_dump_trigger(), ux_oid_get(), and vid_getall_mops().

int db_get_class_num_objs_and_pages ( DB_OBJECT classmop,
int  approximation,
int *  nobjs,
int *  npages 
)

Definition at line 2311 of file db_info.c.

References ER_FAILED, error(), heap_get_class_num_objects_pages(), HFID_IS_NULL, NO_ERROR, NULL, and sm_get_ch_heap().

Referenced by ux_get_class_num_objs().

Here is the caller graph for this function:

int db_get_class_privilege ( DB_OBJECT mop,
unsigned int *  auth 
)

Definition at line 2346 of file db_info.c.

References au_get_class_privilege(), ER_FAILED, and NULL.

Referenced by sch_attr_priv(), and sch_class_priv().

Here is the caller graph for this function:

DB_OBJECT* db_get_foreign_key_ref_class ( DB_CONSTRAINT constraint)

Definition at line 2124 of file db_info.c.

References sm_class_constraint::fk_info, NULL, sm_foreign_key_info::ref_class_oid, SM_CONSTRAINT_FOREIGN_KEY, sm_class_constraint::type, and ws_mop().

Referenced by sch_imported_keys().

Here is the caller graph for this function:

DB_METHFILE* db_get_method_files ( DB_OBJECT obj)
DB_METHOD* db_get_methods ( DB_OBJECT obj)

Definition at line 1513 of file db_info.c.

References ARG_FILE_LINE, au_fetch_class(), AU_FETCH_READ, AU_SELECT, CHECK_1ARG_NULL, CHECK_CONNECT_NULL, ER_OBJ_NO_COMPONENTS, er_set(), ER_WARNING_SEVERITY, sm_class::methods, NO_ERROR, and NULL.

Referenced by emit_methods(), and sch_method_info().

Here is the caller graph for this function:

int db_is_deleted ( DB_OBJECT obj)

Definition at line 531 of file db_info.c.

References CHECK_1ARG_ERROR, ER_HEAP_UNKNOWN_OBJECT, error(), db_object::lock, obj_lock(), WS_IS_DELETED, and X_LOCK.

Referenced by delete_list_by_oids(), do_replace_into(), and update_object_tuple().

Here is the caller graph for this function:

int db_is_instance ( MOP  obj)

Definition at line 394 of file db_info.c.

References CHECK_CONNECT_ZERO, and obj_isinstance().

Referenced by fetch_result(), fn_oid(), method_invoke_for_server(), method_receive_results_for_stand_alone(), pt_check_method(), ux_check_object(), and ux_str_to_obj().

Here is the caller graph for this function:

int db_is_instance_of ( MOP  obj,
MOP  class_ 
)

Definition at line 417 of file db_info.c.

References CHECK_CONNECT_ZERO, NULL, and obj_is_instance_of().

int db_is_partition ( DB_OBJECT classobj,
DB_OBJECT superobj 
)

Definition at line 483 of file db_info.c.

References CHECK_1ARG_MINUSONE, CHECK_CONNECT_ZERO, and sm_is_partition().

Referenced by mq_fetch_select_for_real_class_update().

Here is the caller graph for this function:

int db_is_subclass ( MOP  classmop,
MOP  supermop 
)
int db_is_superclass ( MOP  supermop,
MOP  classmop 
)

Definition at line 466 of file db_info.c.

References db_is_subclass().

Referenced by mq_fetch_select_for_real_class_update(), and pt_check_alter().

Here is the caller graph for this function:

int db_is_system_class ( MOP  op)

Definition at line 502 of file db_info.c.

References CHECK_1ARG_ZERO, CHECK_CONNECT_ZERO, and sm_is_system_class().

Referenced by chksum_start(), class_type(), filter_system_classes(), pt_bind_names(), and ws_release_user_instance().

Here is the caller graph for this function:

const char* db_methfile_name ( DB_METHFILE methfile)

Definition at line 2219 of file db_info.c.

References sm_method_file::name, and NULL.

Referenced by emit_methfile_def(), and fetch_methfile().

Here is the caller graph for this function:

DB_METHFILE* db_methfile_next ( DB_METHFILE methfile)

Definition at line 2201 of file db_info.c.

References sm_method_file::next, and NULL.

Referenced by emit_method_files(), fetch_methfile(), and sch_methfile_info().

Here is the caller graph for this function:

int db_method_arg_count ( DB_METHOD method)

Definition at line 1710 of file db_info.c.

References cubregex::count(), NULL, sm_method_signature::num_args, and sm_method::signatures.

Referenced by emit_method_def(), fetch_method(), and pt_check_method().

Here is the caller graph for this function:

DB_DOMAIN* db_method_arg_domain ( DB_METHOD method,
int  arg 
)
DB_OBJECT* db_method_class ( DB_METHOD method)

Definition at line 1626 of file db_info.c.

References sm_method::class_mop, and NULL.

Referenced by emit_methods().

Here is the caller graph for this function:

const char* db_method_function ( DB_METHOD method)

Definition at line 1606 of file db_info.c.

References sm_method_signature::function_name, NULL, and sm_method::signatures.

Referenced by emit_method_def().

Here is the caller graph for this function:

const char* db_method_name ( DB_METHOD method)

Definition at line 1587 of file db_info.c.

References sm_method::header, sm_component::name, and NULL.

Referenced by emit_method_def(), and fetch_method().

Here is the caller graph for this function:

DB_METHOD* db_method_next ( DB_METHOD method)

Definition at line 1569 of file db_info.c.

References sm_method::header, sm_component::next, and NULL.

Referenced by emit_methods(), fetch_method(), and sch_method_info().

Here is the caller graph for this function:

DB_DOMAIN* db_method_return_domain ( DB_METHOD method)

Definition at line 1646 of file db_info.c.

References sm_method_argument::domain, NULL, sm_method::signatures, sm_filter_domain(), and sm_method_signature::value.

Referenced by emit_method_def(), and pt_eval_method_call_type().

Here is the caller graph for this function:

DB_OBJLIST* db_objlist_next ( DB_OBJLIST link)

Definition at line 2271 of file db_info.c.

References db_objlist::next, and NULL.

DB_OBJECT* db_objlist_object ( DB_OBJLIST link)

Definition at line 2290 of file db_info.c.

References NULL, and db_objlist::op.

const char* db_resolution_alias ( DB_RESOLUTION resolution)

Definition at line 1862 of file db_info.c.

References sm_resolution::alias, and NULL.

Referenced by emit_resolution_def().

Here is the caller graph for this function:

DB_OBJECT* db_resolution_class ( DB_RESOLUTION resolution)

Definition at line 1823 of file db_info.c.

References sm_resolution::class_mop, and NULL.

Referenced by emit_resolution_def().

Here is the caller graph for this function:

int db_resolution_isclass ( DB_RESOLUTION resolution)

Definition at line 1882 of file db_info.c.

References ID_CLASS, sm_resolution::name_space, and NULL.

Referenced by emit_resolutions().

Here is the caller graph for this function:

const char* db_resolution_name ( DB_RESOLUTION resolution)

Definition at line 1843 of file db_info.c.

References sm_resolution::name, and NULL.

Referenced by emit_resolution_def().

Here is the caller graph for this function:

DB_RESOLUTION* db_resolution_next ( DB_RESOLUTION resolution)

Definition at line 1799 of file db_info.c.

References sm_resolution::name_space, sm_resolution::next, and NULL.

Referenced by emit_resolutions().

Here is the caller graph for this function: