CUBRID Engine  latest
dbi_compat.h File Reference
#include <stdio.h>
#include <time.h>
#include <sys/types.h>
#include "dbtran_def.h"
#include "dbtype_def.h"
#include "error_code.h"
#include "dbtype_function.h"
#include "db_date.h"
#include "db_elo.h"
#include "cache_time.h"
Include dependency graph for dbi_compat.h:

Go to the source code of this file.

Macros

#define bool   char
 
#define DB_TRUE   1
 
#define DB_FALSE   0
 
#define SQLX_CMD_TYPE   CUBRID_STMT_TYPE
 
#define SQLX_CMD_ALTER_CLASS   CUBRID_STMT_ALTER_CLASS
 
#define SQLX_CMD_ALTER_SERIAL   CUBRID_STMT_ALTER_SERIAL
 
#define SQLX_CMD_COMMIT_WORK   CUBRID_STMT_COMMIT_WORK
 
#define SQLX_CMD_REGISTER_DATABASE   CUBRID_STMT_REGISTER_DATABASE
 
#define SQLX_CMD_CREATE_CLASS   CUBRID_STMT_CREATE_CLASS
 
#define SQLX_CMD_CREATE_INDEX   CUBRID_STMT_CREATE_INDEX
 
#define SQLX_CMD_CREATE_TRIGGER   CUBRID_STMT_CREATE_TRIGGER
 
#define SQLX_CMD_CREATE_SERIAL   CUBRID_STMT_CREATE_SERIAL
 
#define SQLX_CMD_DROP_DATABASE   CUBRID_STMT_DROP_DATABASE
 
#define SQLX_CMD_DROP_CLASS   CUBRID_STMT_DROP_CLASS
 
#define SQLX_CMD_DROP_INDEX   CUBRID_STMT_DROP_INDEX
 
#define SQLX_CMD_DROP_LABEL   CUBRID_STMT_DROP_LABEL
 
#define SQLX_CMD_DROP_TRIGGER   CUBRID_STMT_DROP_TRIGGER
 
#define SQLX_CMD_DROP_SERIAL   CUBRID_STMT_DROP_SERIAL
 
#define SQLX_CMD_EVALUATE   CUBRID_STMT_EVALUATE
 
#define SQLX_CMD_RENAME_CLASS   CUBRID_STMT_RENAME_CLASS
 
#define SQLX_CMD_ROLLBACK_WORK   CUBRID_STMT_ROLLBACK_WORK
 
#define SQLX_CMD_GRANT   CUBRID_STMT_GRANT
 
#define SQLX_CMD_REVOKE   CUBRID_STMT_REVOKE
 
#define SQLX_CMD_UPDATE_STATS   CUBRID_STMT_UPDATE_STATS
 
#define SQLX_CMD_INSERT   CUBRID_STMT_INSERT
 
#define SQLX_CMD_SELECT   CUBRID_STMT_SELECT
 
#define SQLX_CMD_UPDATE   CUBRID_STMT_UPDATE
 
#define SQLX_CMD_DELETE   CUBRID_STMT_DELETE
 
#define SQLX_CMD_CALL   CUBRID_STMT_CALL
 
#define SQLX_CMD_GET_ISO_LVL   CUBRID_STMT_GET_ISO_LVL
 
#define SQLX_CMD_GET_TIMEOUT   CUBRID_STMT_GET_TIMEOUT
 
#define SQLX_CMD_GET_OPT_LVL   CUBRID_STMT_GET_OPT_LVL
 
#define SQLX_CMD_SET_OPT_LVL   CUBRID_STMT_SET_OPT_LVL
 
#define SQLX_CMD_SCOPE   CUBRID_STMT_SCOPE
 
#define SQLX_CMD_GET_TRIGGER   CUBRID_STMT_GET_TRIGGER
 
#define SQLX_CMD_SET_TRIGGER   CUBRID_STMT_SET_TRIGGER
 
#define SQLX_CMD_SAVEPOINT   CUBRID_STMT_SAVEPOINT
 
#define SQLX_CMD_PREPARE   CUBRID_STMT_PREPARE
 
#define SQLX_CMD_ATTACH   CUBRID_STMT_ATTACH
 
#define SQLX_CMD_USE   CUBRID_STMT_USE
 
#define SQLX_CMD_REMOVE_TRIGGER   CUBRID_STMT_REMOVE_TRIGGER
 
#define SQLX_CMD_RENMAE_TRIGGER   CUBRID_STMT_RENAME_TRIGGER
 
#define SQLX_CMD_ON_LDB   CUBRID_STMT_ON_LDB
 
#define SQLX_CMD_GET_LDB   CUBRID_STMT_GET_LDB
 
#define SQLX_CMD_SET_LDB   CUBRID_STMT_SET_LDB
 
#define SQLX_CMD_GET_STATS   CUBRID_STMT_GET_STATS
 
#define SQLX_CMD_CREATE_USER   CUBRID_STMT_CREATE_USER
 
#define SQLX_CMD_DROP_USER   CUBRID_STMT_DROP_USER
 
#define SQLX_CMD_ALTER_USER   CUBRID_STMT_ALTER_USER
 
#define SQLX_CMD_SET_SYS_PARAMS   CUBRID_STMT_SET_SYS_PARAMS
 
#define SQLX_CMD_ALTER_INDEX   CUBRID_STMT_ALTER_INDEX
 
#define SQLX_CMD_CREATE_STORED_PROCEDURE   CUBRID_STMT_CREATE_STORED_PROCEDURE
 
#define SQLX_CMD_DROP_STORED_PROCEDURE   CUBRID_STMT_DROP_STORED_PROCEDURE
 
#define SQLX_CMD_PREPARE_STATEMENT   CUBRID_STMT_PREPARE_STATEMENT
 
#define SQLX_CMD_EXECUTE_PREPARE   CUBRID_STMT_EXECUTE_PREPARE
 
#define SQLX_CMD_DEALLOCATE_PREPARE   CUBRID_STMT_DEALLOCATE_PREPARE
 
#define SQLX_CMD_TRUNCATE   CUBRID_STMT_TRUNCATE
 
#define SQLX_CMD_DO   CUBRID_STMT_DO
 
#define SQLX_CMD_SELECT_UPDATE   CUBRID_STMT_SELECT_UPDATE
 
#define SQLX_CMD_SET_SESSION_VARIABLES   CUBRID_STMT_SET_SESSION_VARIABLES
 
#define SQLX_CMD_DROP_SESSION_VARIABLES   CUBRID_STMT_DROP_SESSION_VARIABLES
 
#define SQLX_CMD_STMT_MERGE   CUBRID_STMT_MERGE
 
#define SQLX_CMD_SET_NAMES   CUBRID_STMT_SET_NAMES
 
#define SQLX_CMD_ALTER_STORED_PROCEDURE   CUBRID_STMT_ALTER_STORED_PROCEDURE
 
#define SQLX_CMD_ALTER_STORED_PROCEDURE_OWNER   CUBRID_STMT_ALTER_STORED_PROCEDURE
 
#define SQLX_MAX_CMD_TYPE   CUBRID_MAX_STMT_TYPE
 
#define SQLX_CMD_CALL_SP   CUBRID_STMT_CALL_SP
 
#define SQLX_CMD_UNKNOWN   CUBRID_STMT_UNKNOWN
 

Enumerations

enum  { DB_NO_OIDS, DB_ROW_OIDS, DB_COLUMN_OIDS }
 

Functions

bool db_is_client_cache_reusable (DB_QUERY_RESULT *result)
 
int db_query_seek_tuple (DB_QUERY_RESULT *result, int offset, int seek_mode)
 
int db_query_get_cache_time (DB_QUERY_RESULT *result, CACHE_TIME *cache_time)
 
void db_objlist_free (DB_OBJLIST *list)
 
void db_string_free (char *string)
 
int db_auth_login (char *signed_data, int len)
 
int db_auth_logout (void)
 
int db_login (const char *name, const char *password)
 
int db_restart (const char *program, int print_version, const char *volume)
 
int db_restart_ex (const char *program, const char *db_name, const char *db_user, const char *db_password, const char *preferred_hosts, int client_type)
 
SESSION_ID db_get_session_id (void)
 
void db_set_session_id (const SESSION_ID session_id)
 
int db_end_session (void)
 
int db_find_or_create_session (const char *db_user, const char *program_name)
 
int db_get_row_count_cache (void)
 
void db_update_row_count_cache (const int row_count)
 
int db_get_row_count (int *row_count)
 
int db_get_last_insert_id (DB_VALUE *value)
 
int db_get_variable (DB_VALUE *name, DB_VALUE *value)
 
int db_shutdown (void)
 
int db_ping_server (int client_val, int *server_val)
 
int db_disable_modification (void)
 
int db_enable_modification (void)
 
int db_commit_transaction (void)
 
int db_abort_transaction (void)
 
int db_reset_latest_query_status (void)
 
int db_commit_is_needed (void)
 
int db_savepoint_transaction (const char *savepoint_name)
 
int db_abort_to_savepoint (const char *savepoint_name)
 
int db_set_global_transaction_info (int gtrid, void *info, int size)
 
int db_get_global_transaction_info (int gtrid, void *buffer, int size)
 
int db_2pc_start_transaction (void)
 
int db_2pc_prepare_transaction (void)
 
int db_2pc_prepared_transactions (int gtrids[], int size)
 
int db_2pc_prepare_to_commit_transaction (int gtrid)
 
int db_2pc_attach_transaction (int gtrid)
 
void db_set_interrupt (int set)
 
int db_set_suppress_repl_on_transaction (int set)
 
int db_freepgs (const char *vlabel)
 
int db_totalpgs (const char *vlabel)
 
char * db_vol_label (int volid, char *vol_fullname)
 
void db_warnspace (const char *vlabel)
 
int db_add_volume (const char *ext_path, const char *ext_name, const char *ext_comments, const int ext_npages, const DB_VOLPURPOSE ext_purpose)
 
int db_num_volumes (void)
 
void db_print_stats (void)
 
void db_preload_classes (const char *name1,...)
 
void db_link_static_methods (DB_METHOD_LINK *methods)
 
void db_unlink_static_methods (DB_METHOD_LINK *methods)
 
void db_flush_static_methods (void)
 
const char * db_error_string (int level)
 
int db_error_code (void)
 
int db_error_init (const char *logfile)
 
int db_set_lock_timeout (int seconds)
 
int db_set_isolation (DB_TRAN_ISOLATION isolation)
 
void db_synchronize_cache (void)
 
void db_get_tran_settings (int *lock_wait, DB_TRAN_ISOLATION *tran_isolation)
 
DB_OBJECTdb_get_user (void)
 
DB_OBJECTdb_get_owner (DB_OBJECT *classobj)
 
char * db_get_user_name (void)
 
char * db_get_user_and_host_name (void)
 
DB_OBJECTdb_find_user (const char *name)
 
int db_find_user_to_drop (const char *name, DB_OBJECT **user)
 
DB_OBJECTdb_add_user (const char *name, int *exists)
 
int db_drop_user (DB_OBJECT *user)
 
int db_add_member (DB_OBJECT *user, DB_OBJECT *member)
 
int db_drop_member (DB_OBJECT *user, DB_OBJECT *member)
 
int db_set_password (DB_OBJECT *user, const char *oldpass, const char *newpass)
 
int db_set_user_comment (DB_OBJECT *user, const char *comment)
 
int db_grant (DB_OBJECT *user, DB_OBJECT *classobj, DB_AUTH auth, int grant_option)
 
int db_revoke (DB_OBJECT *user, DB_OBJECT *classobj, DB_AUTH auth)
 
int db_check_authorization (DB_OBJECT *op, DB_AUTH auth)
 
int db_check_authorization_and_grant_option (MOP op, DB_AUTH auth)
 
int db_get_class_privilege (DB_OBJECT *op, unsigned int *auth)
 
int db_get_serial_current_value (const char *serial_name, DB_VALUE *serial_value)
 
int db_get_serial_next_value (const char *serial_name, DB_VALUE *serial_value)
 
int db_get_serial_next_value_ex (const char *serial_name, DB_VALUE *serial_value, int num_alloc)
 
DB_OBJECTdb_create (DB_OBJECT *obj)
 
DB_OBJECTdb_create_by_name (const char *name)
 
int db_get (DB_OBJECT *object, const char *attpath, DB_VALUE *value)
 
int db_put (DB_OBJECT *obj, const char *name, DB_VALUE *value)
 
int db_drop (DB_OBJECT *obj)
 
int db_get_expression (DB_OBJECT *object, const char *expression, DB_VALUE *value)
 
void db_print (DB_OBJECT *obj)
 
void db_fprint (FILE *fp, DB_OBJECT *obj)
 
DB_OBJECTdb_find_unique (DB_OBJECT *classobj, const char *attname, DB_VALUE *value)
 
DB_OBJECTdb_find_unique_write_mode (DB_OBJECT *classobj, const char *attname, DB_VALUE *value)
 
DB_OBJECTdb_find_multi_unique (DB_OBJECT *classobj, int size, char *attnames[], DB_VALUE *values[], DB_FETCH_MODE purpose)
 
DB_OBJECTdb_dfind_unique (DB_OBJECT *classobj, DB_ATTDESC *attdesc, DB_VALUE *value, DB_FETCH_MODE purpose)
 
DB_OBJECTdb_dfind_multi_unique (DB_OBJECT *classobj, int size, DB_ATTDESC *attdesc[], DB_VALUE *values[], DB_FETCH_MODE purpose)
 
DB_OBJECTdb_find_primary_key (MOP classmop, const DB_VALUE **values, int size, DB_FETCH_MODE purpose)
 
int db_send (DB_OBJECT *obj, const char *name, DB_VALUE *returnval,...)
 
int db_send_arglist (DB_OBJECT *obj, const char *name, DB_VALUE *returnval, DB_VALUE_LIST *args)
 
int db_send_argarray (DB_OBJECT *obj, const char *name, DB_VALUE *returnval, DB_VALUE **args)
 
int db_lock_read (DB_OBJECT *op)
 
int db_lock_write (DB_OBJECT *op)
 
int db_fetch_array (DB_OBJECT **objects, DB_FETCH_MODE mode, int quit_on_error)
 
int db_fetch_list (DB_OBJLIST *objects, DB_FETCH_MODE mode, int quit_on_error)
 
int db_fetch_set (DB_COLLECTION *set, DB_FETCH_MODE mode, int quit_on_error)
 
int db_fetch_seq (DB_SEQ *set, DB_FETCH_MODE mode, int quit_on_error)
 
int db_fetch_composition (DB_OBJECT *object, DB_FETCH_MODE mode, int max_level, int quit_on_error)
 
DB_OBJECTdb_create_class (const char *name)
 
DB_OBJECTdb_create_vclass (const char *name)
 
int db_drop_class (DB_OBJECT *classobj)
 
int db_drop_class_ex (DB_OBJECT *classobj, bool is_cascade_constraints)
 
int db_rename_class (DB_OBJECT *classobj, const char *new_name)
 
int db_add_index (DB_OBJECT *classobj, const char *attname)
 
int db_drop_index (DB_OBJECT *classobj, const char *attname)
 
int db_add_super (DB_OBJECT *classobj, DB_OBJECT *super)
 
int db_drop_super (DB_OBJECT *classobj, DB_OBJECT *super)
 
int db_drop_super_connect (DB_OBJECT *classobj, DB_OBJECT *super)
 
int db_rename (DB_OBJECT *classobj, const char *name, int class_namespace, const char *newname)
 
int db_add_attribute (DB_OBJECT *obj, const char *name, const char *domain, DB_VALUE *default_value)
 
int db_add_shared_attribute (DB_OBJECT *obj, const char *name, const char *domain, DB_VALUE *default_value)
 
int db_add_class_attribute (DB_OBJECT *obj, const char *name, const char *domain, DB_VALUE *default_value)
 
int db_add_set_attribute_domain (DB_OBJECT *classobj, const char *name, int class_attribute, const char *domain)
 
int db_drop_attribute (DB_OBJECT *classobj, const char *name)
 
int db_drop_class_attribute (DB_OBJECT *classobj, const char *name)
 
int db_change_default (DB_OBJECT *classobj, const char *name, DB_VALUE *value)
 
int db_constrain_non_null (DB_OBJECT *classobj, const char *name, int class_attribute, int on_or_off)
 
int db_constrain_unique (DB_OBJECT *classobj, const char *name, int on_or_off)
 
int db_add_method (DB_OBJECT *classobj, const char *name, const char *implementation)
 
int db_add_class_method (DB_OBJECT *classobj, const char *name, const char *implementation)
 
int db_drop_method (DB_OBJECT *classobj, const char *name)
 
int db_drop_class_method (DB_OBJECT *classobj, const char *name)
 
int db_add_argument (DB_OBJECT *classobj, const char *name, int class_method, int arg_index, const char *domain)
 
int db_add_set_argument_domain (DB_OBJECT *classobj, const char *name, int class_method, int arg_index, const char *domain)
 
int db_change_method_implementation (DB_OBJECT *classobj, const char *name, int class_method, const char *newname)
 
int db_set_loader_commands (DB_OBJECT *classobj, const char *commands)
 
int db_add_method_file (DB_OBJECT *classobj, const char *name)
 
int db_drop_method_file (DB_OBJECT *classobj, const char *name)
 
int db_drop_method_files (DB_OBJECT *classobj)
 
int db_add_resolution (DB_OBJECT *classobj, DB_OBJECT *super, const char *name, const char *alias)
 
int db_add_class_resolution (DB_OBJECT *classobj, DB_OBJECT *super, const char *name, const char *alias)
 
int db_drop_resolution (DB_OBJECT *classobj, DB_OBJECT *super, const char *name)
 
int db_drop_class_resolution (DB_OBJECT *classobj, DB_OBJECT *super, const char *name)
 
int db_add_constraint (MOP classmop, DB_CONSTRAINT_TYPE constraint_type, const char *constraint_name, const char **att_names, int class_attributes)
 
int db_drop_constraint (MOP classmop, DB_CONSTRAINT_TYPE constraint_type, const char *constraint_name, const char **att_names, int class_attributes)
 
char * db_get_database_name (void)
 
const char * db_get_database_comments (void)
 
void db_set_client_type (int client_type)
 
void db_set_preferred_hosts (const char *hosts)
 
int db_get_client_type (void)
 
const char * db_get_type_name (DB_TYPE type_id)
 
DB_TYPE db_type_from_string (const char *name)
 
int db_get_schema_def_dbval (DB_VALUE *result, DB_VALUE *name_val)
 
const char * db_default_expression_string (DB_DEFAULT_EXPR_TYPE default_expr_type)
 
DB_OBJECTdb_find_class_of_index (const char *index, DB_CONSTRAINT_TYPE type)
 
DB_OBJECTdb_find_class (const char *name)
 
DB_OBJECTdb_get_class (DB_OBJECT *obj)
 
DB_OBJLISTdb_get_all_objects (DB_OBJECT *classobj)
 
DB_OBJLISTdb_get_all_classes (void)
 
DB_OBJLISTdb_get_base_classes (void)
 
DB_OBJLISTdb_fetch_all_objects (DB_OBJECT *op, DB_FETCH_MODE mode)
 
DB_OBJLISTdb_fetch_all_classes (DB_FETCH_MODE mode)
 
DB_OBJLISTdb_fetch_base_classes (DB_FETCH_MODE mode)
 
int db_is_class (DB_OBJECT *obj)
 
int db_is_any_class (DB_OBJECT *obj)
 
int db_is_instance (DB_OBJECT *obj)
 
int db_is_instance_of (DB_OBJECT *obj, DB_OBJECT *classobj)
 
int db_is_subclass (DB_OBJECT *classobj, DB_OBJECT *supermop)
 
int db_is_superclass (DB_OBJECT *supermop, DB_OBJECT *classobj)
 
int db_is_partition (DB_OBJECT *classobj, DB_OBJECT *superobj)
 
int db_is_system_class (DB_OBJECT *op)
 
int db_is_deleted (DB_OBJECT *obj)
 
const char * db_get_class_name (DB_OBJECT *classobj)
 
DB_OBJLISTdb_get_superclasses (DB_OBJECT *obj)
 
DB_OBJLISTdb_get_subclasses (DB_OBJECT *obj)
 
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_attributes (DB_OBJECT *obj)
 
DB_ATTRIBUTEdb_get_class_attribute (DB_OBJECT *obj, const char *name)
 
DB_ATTRIBUTEdb_get_class_attributes (DB_OBJECT *obj)
 
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_RESOLUTIONdb_get_resolutions (DB_OBJECT *obj)
 
DB_RESOLUTIONdb_get_class_resolutions (DB_OBJECT *obj)
 
DB_METHFILEdb_get_method_files (DB_OBJECT *obj)
 
const char * db_get_loader_commands (DB_OBJECT *obj)
 
DB_TYPE db_attribute_type (DB_ATTRIBUTE *attribute)
 
DB_ATTRIBUTEdb_attribute_next (DB_ATTRIBUTE *attribute)
 
const char * db_attribute_name (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)
 
int db_attribute_length (DB_ATTRIBUTE *attribute)
 
DB_DOMAINdb_type_to_db_domain (DB_TYPE type)
 
DB_DOMAINdb_domain_next (const DB_DOMAIN *domain)
 
DB_TYPE db_domain_type (const DB_DOMAIN *domain)
 
DB_OBJECTdb_domain_class (const DB_DOMAIN *domain)
 
DB_DOMAINdb_domain_set (const DB_DOMAIN *domain)
 
int db_domain_precision (const DB_DOMAIN *domain)
 
int db_domain_scale (const DB_DOMAIN *domain)
 
int db_domain_codeset (const DB_DOMAIN *domain)
 
const char * db_domain_raw_json_schema (const DB_DOMAIN *domain)
 
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_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_METHFILEdb_methfile_next (DB_METHFILE *methfile)
 
const char * db_methfile_name (DB_METHFILE *methfile)
 
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_btree_statistics (DB_CONSTRAINT *cons, int *num_leaf_pages, int *num_total_pages, int *num_keys, int *height)
 
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 (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 char * db_get_foreign_key_action (DB_CONSTRAINT *constraint, DB_FK_ACTION_TYPE type)
 
DB_OBJECTdb_get_foreign_key_ref_class (DB_CONSTRAINT *constraint)
 
DB_OBJECTdb_create_trigger (const char *name, DB_TRIGGER_STATUS status, double priority, DB_TRIGGER_EVENT event, DB_OBJECT *class_obj, const char *attr, DB_TRIGGER_TIME cond_time, const char *cond_source, DB_TRIGGER_TIME action_time, DB_TRIGGER_ACTION action_type, const char *action_source)
 
int db_drop_trigger (DB_OBJECT *obj)
 
int db_rename_trigger (DB_OBJECT *obj, const char *newname)
 
DB_OBJECTdb_find_trigger (const char *name)
 
int db_find_all_triggers (DB_OBJLIST **list)
 
int db_find_event_triggers (DB_TRIGGER_EVENT event, DB_OBJECT *class_obj, const char *attr, DB_OBJLIST **list)
 
int db_alter_trigger_priority (DB_OBJECT *trobj, double priority)
 
int db_alter_trigger_status (DB_OBJECT *trobj, DB_TRIGGER_STATUS status)
 
int db_execute_deferred_activities (DB_OBJECT *trigger_obj, DB_OBJECT *target)
 
int db_drop_deferred_activities (DB_OBJECT *trigger_obj, DB_OBJECT *target)
 
int db_trigger_name (DB_OBJECT *trobj, char **name)
 
int db_trigger_status (DB_OBJECT *trobj, DB_TRIGGER_STATUS *status)
 
int db_trigger_priority (DB_OBJECT *trobj, double *priority)
 
int db_trigger_event (DB_OBJECT *trobj, DB_TRIGGER_EVENT *event)
 
int db_trigger_class (DB_OBJECT *trobj, DB_OBJECT **class_obj)
 
int db_trigger_attribute (DB_OBJECT *trobj, char **attr)
 
int db_trigger_condition (DB_OBJECT *trobj, char **condition)
 
int db_trigger_condition_time (DB_OBJECT *trobj, DB_TRIGGER_TIME *tr_time)
 
int db_trigger_action_type (DB_OBJECT *trobj, DB_TRIGGER_ACTION *type)
 
int db_trigger_action_time (DB_OBJECT *trobj, DB_TRIGGER_TIME *tr_time)
 
int db_trigger_action (DB_OBJECT *trobj, char **action)
 
int db_trigger_comment (DB_OBJECT *trobj, char **comment)
 
DB_CTMPLdbt_create_class (const char *name)
 
DB_CTMPLdbt_create_vclass (const char *name)
 
DB_CTMPLdbt_edit_class (DB_OBJECT *classobj)
 
DB_OBJECTdbt_finish_class (DB_CTMPL *def)
 
void dbt_abort_class (DB_CTMPL *def)
 
int dbt_add_attribute (DB_CTMPL *def, const char *name, const char *domain, DB_VALUE *default_value)
 
int dbt_add_shared_attribute (DB_CTMPL *def, const char *name, const char *domain, DB_VALUE *default_value)
 
int dbt_add_class_attribute (DB_CTMPL *def, const char *name, const char *domain, DB_VALUE *default_value)
 
int dbt_constrain_non_null (DB_CTMPL *def, const char *name, int class_attribute, int on_or_off)
 
int dbt_constrain_unique (DB_CTMPL *def, const char *name, int on_or_off)
 
int dbt_add_constraint (DB_CTMPL *def, DB_CONSTRAINT_TYPE constraint_type, const char *constraint_name, const char **attnames, int class_attributes, const char *comment)
 
int dbt_drop_constraint (DB_CTMPL *def, DB_CONSTRAINT_TYPE constraint_type, const char *constraint_name, const char **attnames, int class_attributes)
 
int dbt_add_set_attribute_domain (DB_CTMPL *def, const char *name, int class_attribute, const char *domain)
 
int dbt_change_domain (DB_CTMPL *def, const char *name, int class_attribute, const char *domain)
 
int dbt_change_default (DB_CTMPL *def, const char *name, int class_attribute, DB_VALUE *value)
 
int dbt_drop_set_attribute_domain (DB_CTMPL *def, const char *name, int class_attribute, const char *domain)
 
int dbt_drop_attribute (DB_CTMPL *def, const char *name)
 
int dbt_drop_shared_attribute (DB_CTMPL *def, const char *name)
 
int dbt_drop_class_attribute (DB_CTMPL *def, const char *name)
 
int dbt_add_method (DB_CTMPL *def, const char *name, const char *implementation)
 
int dbt_add_class_method (DB_CTMPL *def, const char *name, const char *implementation)
 
int dbt_add_argument (DB_CTMPL *def, const char *name, int class_method, int arg_index, const char *domain)
 
int dbt_add_set_argument_domain (DB_CTMPL *def, const char *name, int class_method, int arg_index, const char *domain)
 
int dbt_change_method_implementation (DB_CTMPL *def, const char *name, int class_method, const char *newname)
 
int dbt_drop_method (DB_CTMPL *def, const char *name)
 
int dbt_drop_class_method (DB_CTMPL *def, const char *name)
 
int dbt_add_super (DB_CTMPL *def, DB_OBJECT *super)
 
int dbt_drop_super (DB_CTMPL *def, DB_OBJECT *super)
 
int dbt_drop_super_connect (DB_CTMPL *def, DB_OBJECT *super)
 
int dbt_rename (DB_CTMPL *def, const char *name, int class_namespace, const char *newname)
 
int dbt_add_method_file (DB_CTMPL *def, const char *name)
 
int dbt_drop_method_file (DB_CTMPL *def, const char *name)
 
int dbt_drop_method_files (DB_CTMPL *def)
 
int dbt_rename_method_file (DB_CTMPL *def, const char *new_name, const char *old_name)
 
int dbt_set_loader_commands (DB_CTMPL *def, const char *commands)
 
int dbt_add_resolution (DB_CTMPL *def, DB_OBJECT *super, const char *name, const char *alias)
 
int dbt_add_class_resolution (DB_CTMPL *def, DB_OBJECT *super, const char *name, const char *alias)
 
int dbt_drop_resolution (DB_CTMPL *def, DB_OBJECT *super, const char *name)
 
int dbt_drop_class_resolution (DB_CTMPL *def, DB_OBJECT *super, const char *name)
 
int dbt_add_query_spec (DB_CTMPL *def, const char *query)
 
int dbt_drop_query_spec (DB_CTMPL *def, const int query_no)
 
int dbt_change_query_spec (DB_CTMPL *def, const char *new_query, const int query_no)
 
int dbt_set_object_id (DB_CTMPL *def, DB_NAMELIST *id_list)
 
int dbt_add_foreign_key (DB_CTMPL *def, const char *constraint_name, const char **attnames, const char *ref_class, const char **ref_attrs, int del_action, int upd_action, const char *comment)
 
DB_OTMPLdbt_create_object (DB_OBJECT *classobj)
 
DB_OTMPLdbt_edit_object (DB_OBJECT *object)
 
DB_OBJECTdbt_finish_object (DB_OTMPL *def)
 
DB_OBJECTdbt_finish_object_and_decache_when_failure (DB_OTMPL *def)
 
void dbt_abort_object (DB_OTMPL *def)
 
int dbt_put (DB_OTMPL *def, const char *name, DB_VALUE *value)
 
int dbt_set_label (DB_OTMPL *def, DB_VALUE *label)
 
int db_get_attribute_descriptor (DB_OBJECT *obj, const char *attname, int class_attribute, int for_update, DB_ATTDESC **descriptor)
 
void db_free_attribute_descriptor (DB_ATTDESC *descriptor)
 
int db_get_method_descriptor (DB_OBJECT *obj, const char *methname, int class_method, DB_METHDESC **descriptor)
 
void db_free_method_descriptor (DB_METHDESC *descriptor)
 
int db_dget (DB_OBJECT *obj, DB_ATTDESC *attribute, DB_VALUE *value)
 
int db_dput (DB_OBJECT *obj, DB_ATTDESC *attribute, DB_VALUE *value)
 
int db_dsend (DB_OBJECT *obj, DB_METHDESC *method, DB_VALUE *returnval,...)
 
int db_dsend_arglist (DB_OBJECT *obj, DB_METHDESC *method, DB_VALUE *returnval, DB_VALUE_LIST *args)
 
int db_dsend_argarray (DB_OBJECT *obj, DB_METHDESC *method, DB_VALUE *returnval, DB_VALUE **args)
 
int db_dsend_quick (DB_OBJECT *obj, DB_METHDESC *method, DB_VALUE *returnval, int nargs, DB_VALUE **args)
 
int dbt_dput (DB_OTMPL *def, DB_ATTDESC *attribute, DB_VALUE *value)
 
char * db_get_vclass_ldb_name (DB_OBJECT *op)
 
int db_add_query_spec (DB_OBJECT *vclass, const char *query)
 
int db_drop_query_spec (DB_OBJECT *vclass, const int query_no)
 
DB_NAMELISTdb_get_object_id (DB_OBJECT *vclass)
 
int db_namelist_add (DB_NAMELIST **list, const char *name)
 
int db_namelist_append (DB_NAMELIST **list, const char *name)
 
void db_namelist_free (DB_NAMELIST *list)
 
int db_is_vclass (DB_OBJECT *op)
 
DB_OBJLISTdb_get_all_vclasses_on_ldb (void)
 
DB_OBJLISTdb_get_all_vclasses (void)
 
DB_QUERY_SPECdb_get_query_specs (DB_OBJECT *obj)
 
DB_QUERY_SPECdb_query_spec_next (DB_QUERY_SPEC *query_spec)
 
const char * db_query_spec_string (DB_QUERY_SPEC *query_spec)
 
int db_change_query_spec (DB_OBJECT *vclass, const char *new_query, const int query_no)
 
int db_validate (DB_OBJECT *vclass)
 
int db_validate_query_spec (DB_OBJECT *vclass, const char *query_spec)
 
int db_is_real_instance (DB_OBJECT *obj)
 
DB_OBJECTdb_real_instance (DB_OBJECT *obj)
 
int db_instance_equal (DB_OBJECT *obj1, DB_OBJECT *obj2)
 
int db_is_updatable_object (DB_OBJECT *obj)
 
int db_is_updatable_attribute (DB_OBJECT *obj, const char *attr_name)
 
int db_check_single_query (DB_SESSION *session)
 
int db_get_query_format (const char *CSQL_query, DB_QUERY_TYPE **type_list, DB_QUERY_ERROR *query_error)
 
DB_QUERY_TYPEdb_query_format_next (DB_QUERY_TYPE *query_type)
 
DB_COL_TYPE db_query_format_col_type (DB_QUERY_TYPE *query_type)
 
char * db_query_format_name (DB_QUERY_TYPE *query_type)
 
DB_TYPE db_query_format_type (DB_QUERY_TYPE *query_type)
 
void db_query_format_free (DB_QUERY_TYPE *query_type)
 
DB_DOMAINdb_query_format_domain (DB_QUERY_TYPE *query_type)
 
char * db_query_format_attr_name (DB_QUERY_TYPE *query_type)
 
char * db_query_format_spec_name (DB_QUERY_TYPE *query_type)
 
char * db_query_format_original_name (DB_QUERY_TYPE *query_type)
 
const char * db_query_format_class_name (DB_QUERY_TYPE *query_type)
 
int db_query_format_is_non_null (DB_QUERY_TYPE *query_type)
 
int db_get_query_result_format (DB_QUERY_RESULT *result, DB_QUERY_TYPE **type_list)
 
int db_query_next_tuple (DB_QUERY_RESULT *result)
 
int db_query_prev_tuple (DB_QUERY_RESULT *result)
 
int db_query_first_tuple (DB_QUERY_RESULT *result)
 
int db_query_last_tuple (DB_QUERY_RESULT *result)
 
int db_query_get_tuple_value_by_name (DB_QUERY_RESULT *result, char *column_name, DB_VALUE *value)
 
int db_query_get_tuple_value (DB_QUERY_RESULT *result, int tuple_index, DB_VALUE *value)
 
int db_query_get_tuple_oid (DB_QUERY_RESULT *result, DB_VALUE *db_value)
 
int db_query_get_tuple_valuelist (DB_QUERY_RESULT *result, int size, DB_VALUE *value_list)
 
int db_query_tuple_count (DB_QUERY_RESULT *result)
 
int db_query_column_count (DB_QUERY_RESULT *result)
 
int db_query_prefetch_columns (DB_QUERY_RESULT *result, int *columns, int col_count)
 
int db_query_format_size (DB_QUERY_TYPE *query_type)
 
int db_query_end (DB_QUERY_RESULT *result)
 
int db_query_plan_dump_file (char *filename)
 
DB_SESSIONdb_open_buffer (const char *buffer)
 
DB_SESSIONdb_open_file (FILE *file)
 
DB_SESSIONdb_open_file_name (const char *name)
 
int db_statement_count (DB_SESSION *session)
 
int db_compile_statement (DB_SESSION *session)
 
void db_rewind_statement (DB_SESSION *session)
 
DB_SESSION_ERRORdb_get_errors (DB_SESSION *session)
 
DB_SESSION_ERRORdb_get_next_error (DB_SESSION_ERROR *errors, int *linenumber, int *columnnumber)
 
DB_SESSION_ERRORdb_get_warnings (DB_SESSION *session)
 
DB_SESSION_ERRORdb_get_next_warning (DB_SESSION_WARNING *errors, int *linenumber, int *columnnumber)
 
DB_PARAMETERdb_get_parameters (DB_SESSION *session, int statement_id)
 
DB_PARAMETERdb_parameter_next (DB_PARAMETER *param)
 
const char * db_parameter_name (DB_PARAMETER *param)
 
int db_bind_parameter_name (const char *name, DB_VALUE *value)
 
DB_QUERY_TYPEdb_get_query_type_list (DB_SESSION *session, int stmt)
 
int db_number_of_input_markers (DB_SESSION *session, int stmt)
 
int db_number_of_output_markers (DB_SESSION *session, int stmt)
 
DB_MARKERdb_get_input_markers (DB_SESSION *session, int stmt)
 
DB_MARKERdb_get_output_markers (DB_SESSION *session, int stmt)
 
DB_MARKERdb_marker_next (DB_MARKER *marker)
 
int db_marker_index (DB_MARKER *marker)
 
DB_DOMAINdb_marker_domain (DB_MARKER *marker)
 
bool db_is_input_marker (DB_MARKER *marker)
 
bool db_is_output_marker (DB_MARKER *marker)
 
int db_get_start_line (DB_SESSION *session, int stmt)
 
int db_get_statement_type (DB_SESSION *session, int stmt)
 
void db_include_oid (DB_SESSION *session, int include_oid)
 
int db_push_values (DB_SESSION *session, int count, DB_VALUE *in_values)
 
int db_execute (const char *CSQL_query, DB_QUERY_RESULT **result, DB_QUERY_ERROR *query_error)
 
int db_execute_oid (const char *CSQL_query, DB_QUERY_RESULT **result, DB_QUERY_ERROR *query_error)
 
int db_query_produce_updatable_result (DB_SESSION *session, int stmtid)
 
int db_execute_statement (DB_SESSION *session, int stmt, DB_QUERY_RESULT **result)
 
int db_execute_and_keep_statement (DB_SESSION *session, int stmt, DB_QUERY_RESULT **result)
 
DB_CLASS_MODIFICATION_STATUS db_has_modified_class (DB_SESSION *session, int stmt_id)
 
int db_query_set_copy_tplvalue (DB_QUERY_RESULT *result, int copy)
 
void db_close_session (DB_SESSION *session)
 
void db_drop_statement (DB_SESSION *session, int stmt_id)
 
int db_object_describe (DB_OBJECT *obj, int num_attrs, const char **attrs, DB_QUERY_TYPE **col_spec)
 
int db_object_fetch (DB_OBJECT *obj, int num_attrs, const char **attrs, DB_QUERY_RESULT **result)
 
int db_set_client_cache_time (DB_SESSION *session, int stmt_ndx, CACHE_TIME *cache_time)
 
bool db_get_jdbccachehint (DB_SESSION *session, int stmt_ndx, int *life_time)
 
bool db_get_cacheinfo (DB_SESSION *session, int stmt_ndx, bool *use_plan_cache, bool *use_query_cache)
 
void db_free_query (DB_SESSION *session)
 
DB_QUERY_TYPEdb_get_query_type_ptr (DB_QUERY_RESULT *result)
 
int db_query_execute (const char *CSQL_query, DB_QUERY_RESULT **result, DB_QUERY_ERROR *query_error)
 
int db_list_length (DB_LIST *list)
 
DB_NAMELISTdb_namelist_copy (DB_NAMELIST *list)
 
int db_drop_shared_attribute (DB_OBJECT *classobj, const char *name)
 
int db_add_element_domain (DB_OBJECT *classobj, const char *name, const char *domain)
 
int db_drop_element_domain (DB_OBJECT *classobj, const char *name, const char *domain)
 
int db_rename_attribute (DB_OBJECT *classobj, const char *name, int class_attribute, const char *newname)
 
int db_rename_method (DB_OBJECT *classobj, const char *name, int class_method, const char *newname)
 
int db_set_argument_domain (DB_OBJECT *classobj, const char *name, int class_method, int arg_index, const char *domain)
 
int db_set_method_arg_domain (DB_OBJECT *classobj, const char *name, int arg_index, const char *domain)
 
int db_set_class_method_arg_domain (DB_OBJECT *classobj, const char *name, int arg_index, const char *domain)
 
DB_NAMELISTdb_namelist_sort (DB_NAMELIST *names)
 
void db_namelist_remove (DB_NAMELIST **list, const char *name)
 
DB_OBJECTdb_objlist_get (DB_OBJLIST *list, int psn)
 
void db_namelist_print (DB_NAMELIST *list)
 
void db_objlist_print (DB_OBJLIST *list)
 
DB_NAMELISTdb_get_attribute_names (DB_OBJECT *obj)
 
DB_NAMELISTdb_get_shared_attribute_names (DB_OBJECT *obj)
 
DB_NAMELISTdb_get_ordered_attribute_names (DB_OBJECT *obj)
 
DB_NAMELISTdb_get_class_attribute_names (DB_OBJECT *obj)
 
DB_NAMELISTdb_get_method_names (DB_OBJECT *obj)
 
DB_NAMELISTdb_get_class_method_names (DB_OBJECT *obj)
 
DB_NAMELISTdb_get_superclass_names (DB_OBJECT *obj)
 
DB_NAMELISTdb_get_subclass_names (DB_OBJECT *obj)
 
DB_NAMELISTdb_get_method_file_names (DB_OBJECT *obj)
 
const char * db_get_method_function (DB_OBJECT *obj, const char *name)
 
DB_DOMAINdb_get_attribute_domain (DB_OBJECT *obj, const char *name)
 
DB_TYPE db_get_attribute_type (DB_OBJECT *obj, const char *name)
 
DB_OBJECTdb_get_attribute_class (DB_OBJECT *obj, const char *name)
 
void db_force_method_reload (DB_OBJECT *obj)
 
DB_ATTRIBUTEdb_get_shared_attribute (DB_OBJECT *obj, const char *name)
 
DB_ATTRIBUTEdb_get_ordered_attributes (DB_OBJECT *obj)
 
DB_ATTRIBUTEdb_attribute_ordered_next (DB_ATTRIBUTE *attribute)
 
int db_print_mop (DB_OBJECT *obj, char *buffer, int maxlen)
 
int db_get_shared (DB_OBJECT *object, const char *attpath, DB_VALUE *value)
 
DB_OBJECTdb_copy (DB_OBJECT *sourcemop)
 
char * db_get_method_source_file (DB_OBJECT *obj, const char *name)
 
int db_is_indexed (DB_OBJECT *classobj, const char *attname)
 
DB_IDENTIFIERdb_identifier (DB_OBJECT *obj)
 
DB_OBJECTdb_object (DB_IDENTIFIER *oid)
 
int db_chn (DB_OBJECT *obj, DB_FETCH_MODE purpose)
 
int db_encode_object (DB_OBJECT *object, char *string, int allocated_length, int *actual_length)
 
int db_decode_object (const char *string, DB_OBJECT **object)
 
int db_set_system_parameters (const char *data)
 
int db_get_system_parameters (char *data, int len)
 
char * db_get_host_connected (void)
 
int db_get_ha_server_state (char *buffer, int maxlen)
 
void db_clear_host_connected (void)
 
char * db_get_database_version (void)
 
bool db_enable_trigger (void)
 
bool db_disable_trigger (void)
 
void db_clear_host_status (void)
 
void db_set_host_status (char *hostname, int status)
 
void db_set_connected_host_status (char *host_connected)
 
bool db_does_connected_host_have_status (int status)
 
bool db_need_reconnect (void)
 
bool db_need_ignore_repl_delay (void)
 

Macro Definition Documentation

#define DB_FALSE   0

Definition at line 56 of file dbi_compat.h.

#define DB_TRUE   1

Definition at line 55 of file dbi_compat.h.

#define SQLX_CMD_ALTER_CLASS   CUBRID_STMT_ALTER_CLASS

Definition at line 60 of file dbi_compat.h.

#define SQLX_CMD_ALTER_INDEX   CUBRID_STMT_ALTER_INDEX

Definition at line 106 of file dbi_compat.h.

#define SQLX_CMD_ALTER_SERIAL   CUBRID_STMT_ALTER_SERIAL

Definition at line 61 of file dbi_compat.h.

#define SQLX_CMD_ALTER_STORED_PROCEDURE   CUBRID_STMT_ALTER_STORED_PROCEDURE

Definition at line 120 of file dbi_compat.h.

#define SQLX_CMD_ALTER_STORED_PROCEDURE_OWNER   CUBRID_STMT_ALTER_STORED_PROCEDURE

Definition at line 121 of file dbi_compat.h.

#define SQLX_CMD_ALTER_USER   CUBRID_STMT_ALTER_USER

Definition at line 104 of file dbi_compat.h.

#define SQLX_CMD_ATTACH   CUBRID_STMT_ATTACH

Definition at line 94 of file dbi_compat.h.

#define SQLX_CMD_CALL   CUBRID_STMT_CALL

Definition at line 84 of file dbi_compat.h.

#define SQLX_CMD_CALL_SP   CUBRID_STMT_CALL_SP

Definition at line 125 of file dbi_compat.h.

#define SQLX_CMD_COMMIT_WORK   CUBRID_STMT_COMMIT_WORK

Definition at line 62 of file dbi_compat.h.

#define SQLX_CMD_CREATE_CLASS   CUBRID_STMT_CREATE_CLASS

Definition at line 64 of file dbi_compat.h.

#define SQLX_CMD_CREATE_INDEX   CUBRID_STMT_CREATE_INDEX

Definition at line 65 of file dbi_compat.h.

#define SQLX_CMD_CREATE_SERIAL   CUBRID_STMT_CREATE_SERIAL

Definition at line 67 of file dbi_compat.h.

#define SQLX_CMD_CREATE_STORED_PROCEDURE   CUBRID_STMT_CREATE_STORED_PROCEDURE

Definition at line 108 of file dbi_compat.h.

#define SQLX_CMD_CREATE_TRIGGER   CUBRID_STMT_CREATE_TRIGGER

Definition at line 66 of file dbi_compat.h.

#define SQLX_CMD_CREATE_USER   CUBRID_STMT_CREATE_USER

Definition at line 102 of file dbi_compat.h.

#define SQLX_CMD_DEALLOCATE_PREPARE   CUBRID_STMT_DEALLOCATE_PREPARE

Definition at line 112 of file dbi_compat.h.

#define SQLX_CMD_DELETE   CUBRID_STMT_DELETE

Definition at line 83 of file dbi_compat.h.

#define SQLX_CMD_DO   CUBRID_STMT_DO

Definition at line 114 of file dbi_compat.h.

#define SQLX_CMD_DROP_CLASS   CUBRID_STMT_DROP_CLASS

Definition at line 69 of file dbi_compat.h.

#define SQLX_CMD_DROP_DATABASE   CUBRID_STMT_DROP_DATABASE

Definition at line 68 of file dbi_compat.h.

#define SQLX_CMD_DROP_INDEX   CUBRID_STMT_DROP_INDEX

Definition at line 70 of file dbi_compat.h.

#define SQLX_CMD_DROP_LABEL   CUBRID_STMT_DROP_LABEL

Definition at line 71 of file dbi_compat.h.

#define SQLX_CMD_DROP_SERIAL   CUBRID_STMT_DROP_SERIAL

Definition at line 73 of file dbi_compat.h.

#define SQLX_CMD_DROP_SESSION_VARIABLES   CUBRID_STMT_DROP_SESSION_VARIABLES

Definition at line 117 of file dbi_compat.h.

#define SQLX_CMD_DROP_STORED_PROCEDURE   CUBRID_STMT_DROP_STORED_PROCEDURE

Definition at line 109 of file dbi_compat.h.

#define SQLX_CMD_DROP_TRIGGER   CUBRID_STMT_DROP_TRIGGER

Definition at line 72 of file dbi_compat.h.

#define SQLX_CMD_DROP_USER   CUBRID_STMT_DROP_USER

Definition at line 103 of file dbi_compat.h.

#define SQLX_CMD_EVALUATE   CUBRID_STMT_EVALUATE

Definition at line 74 of file dbi_compat.h.

#define SQLX_CMD_EXECUTE_PREPARE   CUBRID_STMT_EXECUTE_PREPARE

Definition at line 111 of file dbi_compat.h.

#define SQLX_CMD_GET_ISO_LVL   CUBRID_STMT_GET_ISO_LVL

Definition at line 85 of file dbi_compat.h.

#define SQLX_CMD_GET_LDB   CUBRID_STMT_GET_LDB

Definition at line 99 of file dbi_compat.h.

#define SQLX_CMD_GET_OPT_LVL   CUBRID_STMT_GET_OPT_LVL

Definition at line 87 of file dbi_compat.h.

#define SQLX_CMD_GET_STATS   CUBRID_STMT_GET_STATS

Definition at line 101 of file dbi_compat.h.

#define SQLX_CMD_GET_TIMEOUT   CUBRID_STMT_GET_TIMEOUT

Definition at line 86 of file dbi_compat.h.

#define SQLX_CMD_GET_TRIGGER   CUBRID_STMT_GET_TRIGGER

Definition at line 90 of file dbi_compat.h.

#define SQLX_CMD_GRANT   CUBRID_STMT_GRANT

Definition at line 77 of file dbi_compat.h.

#define SQLX_CMD_INSERT   CUBRID_STMT_INSERT

Definition at line 80 of file dbi_compat.h.

#define SQLX_CMD_ON_LDB   CUBRID_STMT_ON_LDB

Definition at line 98 of file dbi_compat.h.

#define SQLX_CMD_PREPARE   CUBRID_STMT_PREPARE

Definition at line 93 of file dbi_compat.h.

#define SQLX_CMD_PREPARE_STATEMENT   CUBRID_STMT_PREPARE_STATEMENT

Definition at line 110 of file dbi_compat.h.

#define SQLX_CMD_REGISTER_DATABASE   CUBRID_STMT_REGISTER_DATABASE

Definition at line 63 of file dbi_compat.h.

#define SQLX_CMD_REMOVE_TRIGGER   CUBRID_STMT_REMOVE_TRIGGER

Definition at line 96 of file dbi_compat.h.

#define SQLX_CMD_RENAME_CLASS   CUBRID_STMT_RENAME_CLASS

Definition at line 75 of file dbi_compat.h.

#define SQLX_CMD_RENMAE_TRIGGER   CUBRID_STMT_RENAME_TRIGGER

Definition at line 97 of file dbi_compat.h.

#define SQLX_CMD_REVOKE   CUBRID_STMT_REVOKE

Definition at line 78 of file dbi_compat.h.

#define SQLX_CMD_ROLLBACK_WORK   CUBRID_STMT_ROLLBACK_WORK

Definition at line 76 of file dbi_compat.h.

#define SQLX_CMD_SAVEPOINT   CUBRID_STMT_SAVEPOINT

Definition at line 92 of file dbi_compat.h.

#define SQLX_CMD_SCOPE   CUBRID_STMT_SCOPE

Definition at line 89 of file dbi_compat.h.

#define SQLX_CMD_SELECT   CUBRID_STMT_SELECT

Definition at line 81 of file dbi_compat.h.

#define SQLX_CMD_SELECT_UPDATE   CUBRID_STMT_SELECT_UPDATE

Definition at line 115 of file dbi_compat.h.

#define SQLX_CMD_SET_LDB   CUBRID_STMT_SET_LDB

Definition at line 100 of file dbi_compat.h.

#define SQLX_CMD_SET_NAMES   CUBRID_STMT_SET_NAMES

Definition at line 119 of file dbi_compat.h.

#define SQLX_CMD_SET_OPT_LVL   CUBRID_STMT_SET_OPT_LVL

Definition at line 88 of file dbi_compat.h.

#define SQLX_CMD_SET_SESSION_VARIABLES   CUBRID_STMT_SET_SESSION_VARIABLES

Definition at line 116 of file dbi_compat.h.

#define SQLX_CMD_SET_SYS_PARAMS   CUBRID_STMT_SET_SYS_PARAMS

Definition at line 105 of file dbi_compat.h.

#define SQLX_CMD_SET_TRIGGER   CUBRID_STMT_SET_TRIGGER

Definition at line 91 of file dbi_compat.h.

#define SQLX_CMD_STMT_MERGE   CUBRID_STMT_MERGE

Definition at line 118 of file dbi_compat.h.

#define SQLX_CMD_TRUNCATE   CUBRID_STMT_TRUNCATE

Definition at line 113 of file dbi_compat.h.

#define SQLX_CMD_TYPE   CUBRID_STMT_TYPE

Definition at line 58 of file dbi_compat.h.

#define SQLX_CMD_UNKNOWN   CUBRID_STMT_UNKNOWN

Definition at line 126 of file dbi_compat.h.

#define SQLX_CMD_UPDATE   CUBRID_STMT_UPDATE

Definition at line 82 of file dbi_compat.h.

#define SQLX_CMD_UPDATE_STATS   CUBRID_STMT_UPDATE_STATS

Definition at line 79 of file dbi_compat.h.

#define SQLX_CMD_USE   CUBRID_STMT_USE

Definition at line 95 of file dbi_compat.h.

#define SQLX_MAX_CMD_TYPE   CUBRID_MAX_STMT_TYPE

Definition at line 123 of file dbi_compat.h.

Enumeration Type Documentation

anonymous enum
Enumerator
DB_NO_OIDS 
DB_ROW_OIDS 
DB_COLUMN_OIDS 

Definition at line 649 of file dbi_compat.h.

Function Documentation

int db_2pc_attach_transaction ( int  gtrid)

Definition at line 1403 of file db_admin.c.

References CHECK_CONNECT_ERROR, CHECK_MODIFICATION_ERROR, and tran_2pc_attach_global_tran().

Referenced by do_attach(), and fn_xa_end_tran().

Here is the caller graph for this function:

int db_2pc_prepare_to_commit_transaction ( int  gtrid)

Definition at line 1426 of file db_admin.c.

References CHECK_CONNECT_ERROR, CHECK_MODIFICATION_ERROR, and tran_2pc_prepare_global_tran().

Referenced by do_prepare_to_commit().

Here is the caller graph for this function:

int db_2pc_prepare_transaction ( void  )

Definition at line 1351 of file db_admin.c.

References CHECK_CONNECT_MINUSONE, CHECK_MODIFICATION_MINUSONE, and tran_2pc_prepare().

Referenced by fn_xa_prepare().

Here is the caller graph for this function:

int db_2pc_prepared_transactions ( int  gtrids[],
int  size 
)
int db_2pc_start_transaction ( void  )

Definition at line 1327 of file db_admin.c.

References CHECK_CONNECT_MINUSONE, CHECK_MODIFICATION_MINUSONE, and tran_2pc_start().

Referenced by fn_xa_prepare().

Here is the caller graph for this function:

int db_abort_to_savepoint ( const char *  savepoint_name)
int db_add_argument ( DB_OBJECT classobj,
const char *  name,
int  class_method,
int  arg_index,
const char *  domain 
)

Definition at line 988 of file db_class.c.

References add_arg_domain().

int db_add_attribute ( DB_OBJECT obj,
const char *  name,
const char *  domain,
DB_VALUE default_value 
)
int db_add_class_attribute ( DB_OBJECT obj,
const char *  name,
const char *  domain,
DB_VALUE default_value 
)
int db_add_class_method ( DB_OBJECT classobj,
const char *  name,
const char *  implementation 
)
int db_add_class_resolution ( DB_OBJECT classobj,
DB_OBJECT super,
const char *  name,
const char *  alias 
)
int db_add_element_domain ( DB_OBJECT classobj,
const char *  name,
const char *  domain 
)
int db_add_index ( DB_OBJECT classobj,
const char *  attname 
)
int db_add_member ( DB_OBJECT user,
DB_OBJECT member 
)

Definition at line 1694 of file db_admin.c.

References au_add_member(), CHECK_2ARGS_ERROR, CHECK_CONNECT_ERROR, and CHECK_MODIFICATION_ERROR.

Referenced by do_create_user().

Here is the caller graph for this function:

int db_add_method ( DB_OBJECT classobj,
const char *  name,
const char *  implementation 
)
int db_add_method_file ( DB_OBJECT classobj,
const char *  name 
)
int db_add_query_spec ( DB_OBJECT vclass,
const char *  query 
)
int db_add_resolution ( DB_OBJECT classobj,
DB_OBJECT super,
const char *  name,
const char *  alias 
)
int db_add_set_argument_domain ( DB_OBJECT classobj,
const char *  name,
int  class_method,
int  arg_index,
const char *  domain 
)

Definition at line 1049 of file db_class.c.

References add_arg_domain().

int db_add_set_attribute_domain ( DB_OBJECT classobj,
const char *  name,
int  class_attribute,
const char *  domain 
)
int db_add_shared_attribute ( DB_OBJECT obj,
const char *  name,
const char *  domain,
DB_VALUE default_value 
)
int db_add_super ( DB_OBJECT classobj,
DB_OBJECT super 
)
DB_OBJECT* db_add_user ( const char *  name,
int *  exists 
)

Definition at line 1646 of file db_admin.c.

References au_add_user(), CHECK_1ARG_NULL, CHECK_CONNECT_NULL, and CHECK_MODIFICATION_NULL.

Referenced by do_create_user().

Here is the caller graph for this function:

int db_add_volume ( const char *  ext_path,
const char *  ext_name,
const char *  ext_comments,
const int  ext_npages,
const DB_VOLPURPOSE  ext_purpose 
)
int db_alter_trigger_priority ( DB_OBJECT trobj,
double  priority 
)
int db_alter_trigger_status ( DB_OBJECT trobj,
DB_TRIGGER_STATUS  status 
)
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_auth_login ( char *  signed_data,
int  len 
)
int db_auth_logout ( void  )
int db_bind_parameter_name ( const char *  name,
DB_VALUE value 
)

Definition at line 3813 of file db_vdb.c.

References pt_associate_label_with_value_check_reference().

int db_change_default ( DB_OBJECT classobj,
const char *  name,
DB_VALUE value 
)
int db_change_method_implementation ( DB_OBJECT classobj,
const char *  name,
int  class_method,
const char *  newname 
)
int db_change_query_spec ( DB_OBJECT vclass,
const char *  new_query,
const int  query_no 
)
int db_check_authorization ( DB_OBJECT op,
DB_AUTH  auth 
)
int db_check_authorization_and_grant_option ( MOP  op,
DB_AUTH  auth 
)
int db_check_single_query ( DB_SESSION session)

Definition at line 3695 of file db_vdb.c.

References db_session::dimension, ER_IT_MULTIPLE_STATEMENT, and NO_ERROR.

Referenced by do_process_prepare_statement(), ux_execute(), ux_execute_all(), and ux_execute_call().

Here is the caller graph for this function:

int db_chn ( DB_OBJECT obj,
DB_FETCH_MODE  purpose 
)

Definition at line 2660 of file db_admin.c.

References DB_FETCH_READ, DB_FETCH_WRITE, and locator_get_cache_coherency_number().

void db_clear_host_connected ( void  )

Definition at line 851 of file db_admin.c.

References boot_clear_host_connected().

Referenced by applyinfo(), and ux_database_connect().

Here is the caller graph for this function:

void db_clear_host_status ( void  )
int db_commit_is_needed ( void  )

Definition at line 1154 of file db_admin.c.

References CHECK_CONNECT_FALSE, and tran_has_updated().

Referenced by csql_exit_session().

Here is the caller graph for this function:

int db_constrain_non_null ( DB_OBJECT classobj,
const char *  name,
int  class_attribute,
int  on_or_off 
)
int db_constrain_unique ( DB_OBJECT classobj,
const char *  name,
int  on_or_off 
)
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:

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:

DB_CONSTRAINT_TYPE db_constraint_type ( DB_CONSTRAINT constraint)
DB_OBJECT* db_copy ( DB_OBJECT sourcemop)
DB_OBJECT* db_create_trigger ( const char *  name,
DB_TRIGGER_STATUS  status,
double  priority,
DB_TRIGGER_EVENT  event,
DB_OBJECT class_obj,
const char *  attr,
DB_TRIGGER_TIME  cond_time,
const char *  cond_source,
DB_TRIGGER_TIME  action_time,
DB_TRIGGER_ACTION  action_type,
const char *  action_source 
)

Definition at line 1301 of file db_obj.c.

References CHECK_CONNECT_NULL, CHECK_MODIFICATION_NULL, NULL, and tr_create_trigger().

int db_decode_object ( const char *  string,
DB_OBJECT **  object 
)

Definition at line 1805 of file db_obj.c.

References NO_ERROR, and vid_decode_object().

const char* db_default_expression_string ( DB_DEFAULT_EXPR_TYPE  default_expr_type)

Definition at line 4947 of file db_macro.c.

DB_OBJECT* db_dfind_multi_unique ( DB_OBJECT classobj,
int  size,
DB_ATTDESC attdesc[],
DB_VALUE values[],
DB_FETCH_MODE  purpose 
)
DB_OBJECT* db_dfind_unique ( DB_OBJECT classobj,
DB_ATTDESC attdesc,
DB_VALUE value,
DB_FETCH_MODE  purpose 
)
int db_dget ( DB_OBJECT obj,
DB_ATTDESC attribute,
DB_VALUE value 
)

Definition at line 889 of file db_obj.c.

References CHECK_CONNECT_ERROR, and obj_desc_get().

Referenced by mq_get_expression().

Here is the caller graph for this function:

int db_disable_modification ( void  )

Definition at line 1001 of file db_admin.c.

References db_Disable_modifications, and NO_ERROR.

Referenced by boot_restart_client(), method_invoke_for_server(), and method_receive_results_for_stand_alone().

Here is the caller graph for this function:

bool db_disable_trigger ( void  )

Definition at line 570 of file db_admin.c.

References tr_set_execution_state().

Referenced by applylogdb(), csql(), csql_do_session_cmd(), loaddb_internal(), and ux_database_connect().

Here is the caller graph for this function:

bool db_does_connected_host_have_status ( int  status)

Definition at line 755 of file db_admin.c.

References db_host_status_list::connected_host_status, NULL, and db_host_status::status.

Referenced by db_need_reconnect(), and report_abnormal_host_status().

Here is the caller graph for this function:

int db_domain_codeset ( const DB_DOMAIN domain)

Definition at line 4116 of file db_macro.c.

References tp_domain::codeset, and NULL.

Referenced by get_set_domain(), oid_attr_info_set(), prepare_column_list_info_set(), pt_domain_to_data_type(), ux_col_get(), ux_get_parameter_info(), and ux_make_out_rs().

Here is the caller graph for this function:

DB_DOMAIN* db_domain_next ( const DB_DOMAIN domain)
const char* db_domain_raw_json_schema ( const DB_DOMAIN domain)

Definition at line 4147 of file db_macro.c.

References db_json_get_schema_raw_from_validator(), tp_domain::json_validator, and NULL.

Referenced by emit_domain_def().

Here is the caller graph for this function:

DB_TYPE db_domain_type ( const DB_DOMAIN domain)

Definition at line 4006 of file db_macro.c.

References TP_DOMAIN_TYPE.

int db_drop_attribute ( DB_OBJECT classobj,
const char *  name 
)
int db_drop_class ( DB_OBJECT classobj)
int db_drop_class_attribute ( DB_OBJECT classobj,
const char *  name 
)
int db_drop_class_ex ( DB_OBJECT classobj,
bool  is_cascade_constraints 
)
int db_drop_class_method ( DB_OBJECT classobj,
const char *  name 
)
int db_drop_class_resolution ( DB_OBJECT classobj,
DB_OBJECT super,
const char *  name 
)
int db_drop_constraint ( MOP  classmop,
DB_CONSTRAINT_TYPE  constraint_type,
const char *  constraint_name,
const char **  att_names,
int  class_attributes 
)
int db_drop_deferred_activities ( DB_OBJECT trigger_obj,
DB_OBJECT target 
)
int db_drop_element_domain ( DB_OBJECT classobj,
const char *  name,
const char *  domain 
)
int db_drop_index ( DB_OBJECT classobj,
const char *  attname 
)
int db_drop_member ( DB_OBJECT user,
DB_OBJECT member 
)
int db_drop_method ( DB_OBJECT classobj,
const char *  name 
)
int db_drop_method_file ( DB_OBJECT classobj,
const char *  name 
)
int db_drop_method_files ( DB_OBJECT classobj)
int db_drop_resolution ( DB_OBJECT classobj,
DB_OBJECT super,
const char *  name 
)
int db_drop_shared_attribute ( DB_OBJECT classobj,
const char *  name 
)
void db_drop_statement ( DB_SESSION session,
int  stmt_id 
)

Definition at line 3196 of file db_vdb.c.

References NULL, db_session::parser, parser_free_tree(), pt_free_statement_xasl_id(), db_session::stage, StatementInitialStage, and db_session::statements.

Referenced by csql_execute_statements().

Here is the caller graph for this function:

int db_drop_super ( DB_OBJECT classobj,
DB_OBJECT super 
)
int db_drop_super_connect ( DB_OBJECT classobj,
DB_OBJECT super 
)
int db_drop_trigger ( DB_OBJECT obj)
int db_drop_user ( DB_OBJECT user)

Definition at line 1668 of file db_admin.c.

References au_drop_user(), CHECK_1ARG_ERROR, CHECK_CONNECT_ERROR, and CHECK_MODIFICATION_ERROR.

Referenced by do_drop_user().

Here is the caller graph for this function:

int db_dsend ( DB_OBJECT obj,
DB_METHDESC method,
DB_VALUE returnval,
  ... 
)

Definition at line 999 of file db_obj.c.

References CHECK_CONNECT_ERROR, error(), NO_ERROR, and obj_desc_send_va().

int db_dsend_argarray ( DB_OBJECT obj,
DB_METHDESC method,
DB_VALUE returnval,
DB_VALUE **  args 
)

Definition at line 1042 of file db_obj.c.

References CHECK_CONNECT_ERROR, and obj_desc_send_array().

int db_dsend_arglist ( DB_OBJECT obj,
DB_METHDESC method,
DB_VALUE returnval,
DB_VALUE_LIST args 
)

Definition at line 1022 of file db_obj.c.

References CHECK_CONNECT_ERROR, and obj_desc_send_list().

int db_dsend_quick ( DB_OBJECT obj,
DB_METHDESC method,
DB_VALUE returnval,
int  nargs,
DB_VALUE **  args 
)

Definition at line 1067 of file db_obj.c.

References CHECK_CONNECT_ERROR, and obj_desc_send_array_quick().

int db_enable_modification ( void  )

Definition at line 1015 of file db_admin.c.

References db_Disable_modifications, and NO_ERROR.

Referenced by method_invoke_for_server(), and method_receive_results_for_stand_alone().

Here is the caller graph for this function:

bool db_enable_trigger ( void  )

Definition at line 558 of file db_admin.c.

References tr_set_execution_state().

Referenced by ux_database_connect().

Here is the caller graph for this function:

int db_encode_object ( DB_OBJECT object,
char *  string,
int  allocated_length,
int *  actual_length 
)

Definition at line 1787 of file db_obj.c.

References NO_ERROR, and vid_encode_object().

int db_end_session ( void  )

Definition at line 1029 of file db_admin.c.

References CHECK_CONNECT_ERROR, csession_end_session(), and db_get_session_id().

Referenced by csql_do_session_cmd(), csql_exit_cleanup(), csql_exit_session(), loaddb_internal(), start_csql(), and ux_end_session().

Here is the caller graph for this function:

int db_error_init ( const char *  logfile)

Definition at line 2164 of file db_admin.c.

References er_init(), prm_get_integer_value(), and PRM_ID_ER_EXIT_ASK.

int db_execute_deferred_activities ( DB_OBJECT trigger_obj,
DB_OBJECT target 
)
DB_OBJLIST* db_fetch_all_classes ( DB_FETCH_MODE  mode)

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:

int db_fetch_array ( DB_OBJECT **  objects,
DB_FETCH_MODE  mode,
int  quit_on_error 
)

Definition at line 2216 of file db_admin.c.

References assert, CHECK_1ARG_ERROR, CHECK_CONNECT_ERROR, cubregex::count(), DB_FETCH_READ, DB_FETCH_WRITE, er_errid(), error(), locator_fetch_set(), NO_ERROR, and NULL.

Referenced by db_fetch_list().

Here is the caller graph for this function:

DB_OBJLIST* db_fetch_base_classes ( DB_FETCH_MODE  mode)

Definition at line 223 of file db_info.c.

References CHECK_CONNECT_NULL, and sm_fetch_all_base_classes().

int db_fetch_composition ( DB_OBJECT object,
DB_FETCH_MODE  mode,
int  max_level,
int  quit_on_error 
)
int db_fetch_list ( DB_OBJLIST objects,
DB_FETCH_MODE  mode,
int  quit_on_error 
)

Definition at line 2254 of file db_admin.c.

References db_fetch_array(), db_list_length(), error(), free_and_init, i, db_objlist::next, NO_ERROR, NULL, and db_objlist::op.

Referenced by vid_getall_mops().

Here is the caller graph for this function:

int db_fetch_seq ( DB_SEQ set,
DB_FETCH_MODE  mode,
int  quit_on_error 
)

Definition at line 2388 of file db_admin.c.

References fetch_set_internal().

int db_fetch_set ( DB_COLLECTION set,
DB_FETCH_MODE  mode,
int  quit_on_error 
)

Definition at line 2372 of file db_admin.c.

References fetch_set_internal().

Referenced by au_get_set(), and set_to_string().

Here is the caller graph for this function:

int db_find_all_triggers ( DB_OBJLIST **  list)

Definition at line 1394 of file db_obj.c.

References CHECK_1ARG_ERROR, CHECK_CONNECT_ERROR, and tr_find_all_triggers().

Referenced by sch_trigger().

Here is the caller graph for this function:

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().

int db_find_event_triggers ( DB_TRIGGER_EVENT  event,
DB_OBJECT class_obj,
const char *  attr,
DB_OBJLIST **  list 
)

Definition at line 1421 of file db_obj.c.

References CHECK_CONNECT_ERROR, and tr_find_event_triggers().

DB_OBJECT* db_find_multi_unique ( DB_OBJECT classobj,
int  size,
char *  attnames[],
DB_VALUE values[],
DB_FETCH_MODE  purpose 
)
int db_find_or_create_session ( const char *  db_user,
const char *  program_name 
)
DB_OBJECT* db_find_primary_key ( MOP  classmop,
const DB_VALUE **  values,
int  size,
DB_FETCH_MODE  purpose 
)
DB_OBJECT* db_find_trigger ( const char *  name)

Definition at line 1370 of file db_obj.c.

References CHECK_1ARG_NULL, CHECK_CONNECT_NULL, and tr_find_trigger().

DB_OBJECT* db_find_unique ( DB_OBJECT classobj,
const char *  attname,
DB_VALUE value 
)
DB_OBJECT* db_find_unique_write_mode ( DB_OBJECT classobj,
const char *  attname,
DB_VALUE value 
)
DB_OBJECT* db_find_user ( const char *  name)
int db_find_user_to_drop ( const char *  name,
DB_OBJECT **  user 
)

Definition at line 1626 of file db_admin.c.

References au_find_user_to_drop(), CHECK_1ARG_ERROR, and CHECK_CONNECT_ERROR.

Referenced by do_drop_user().

Here is the caller graph for this function:

void db_flush_static_methods ( void  )

Definition at line 2564 of file db_admin.c.

References sm_flush_static_methods().

void db_force_method_reload ( DB_OBJECT obj)
void db_fprint ( FILE *  fp,
DB_OBJECT obj 
)

Definition at line 1268 of file db_obj.c.

References CHECK_CONNECT_VOID, help_print_obj(), and NULL.

void db_free_attribute_descriptor ( DB_ATTDESC descriptor)
void db_free_method_descriptor ( DB_METHDESC descriptor)

Definition at line 875 of file db_obj.c.

References sm_free_descriptor().

void db_free_query ( DB_SESSION session)

Definition at line 3683 of file db_vdb.c.

References db_session::parser, and pt_end_query().

Referenced by csql_execute_statements(), do_run_update_query_for_class(), and sm_truncate_using_delete().

Here is the caller graph for this function:

int db_freepgs ( const char *  vlabel)

Definition at line 2054 of file db_admin.c.

References CHECK_CONNECT_ZERO, disk_get_free_numpages(), and NULL_VOLID.

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 classobj)

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_OBJLIST* db_get_all_vclasses ( void  )

Definition at line 3423 of file db_vdb.c.

References db_get_all_chosen_classes(), and is_vclass_object().

DB_OBJLIST* db_get_all_vclasses_on_ldb ( void  )

Definition at line 3412 of file db_vdb.c.

References NULL.

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_OBJECT* db_get_attribute_class ( DB_OBJECT obj,
const char *  name 
)
int db_get_attribute_descriptor ( DB_OBJECT obj,
const char *  attname,
int  class_attribute,
int  for_update,
DB_ATTDESC **  descriptor 
)
DB_DOMAIN* db_get_attribute_domain ( DB_OBJECT obj,
const char *  name 
)
DB_NAMELIST* db_get_attribute_names ( DB_OBJECT obj)
DB_TYPE db_get_attribute_type ( DB_OBJECT obj,
const char *  name 
)
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().

bool db_get_cacheinfo ( DB_SESSION session,
int  stmt_ndx,
bool use_plan_cache,
bool use_query_cache 
)
DB_OBJECT* db_get_class ( DB_OBJECT obj)
DB_NAMELIST* db_get_class_attribute_names ( DB_OBJECT obj)
DB_ATTRIBUTE* db_get_class_attributes ( DB_OBJECT obj)
DB_NAMELIST* db_get_class_method_names ( DB_OBJECT obj)
DB_METHOD* db_get_class_methods ( DB_OBJECT obj)
const char* db_get_class_name ( DB_OBJECT classobj)

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 op,
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:

int db_get_client_type ( void  )

Definition at line 489 of file db_admin.c.

References db_Client_type.

Referenced by csql_do_session_cmd(), la_init(), la_shutdown(), log_does_allow_replication(), obt_apply_assignments(), and obt_update_internal().

Here is the caller graph for this function:

const char* db_get_database_comments ( void  )

Definition at line 471 of file db_admin.c.

References CHECK_CONNECT_NULL, disk_get_remarks(), free_and_init, NULL, and ws_copy_string().

char* db_get_database_name ( void  )

Definition at line 432 of file db_admin.c.

References CHECK_CONNECT_NULL, db_Database_name, NULL, strlen, and ws_copy_string().

Referenced by csql_print_database(), pt_evaluate_db_value_expr(), pt_make_query_show_table(), and pt_to_regu_variable().

Here is the caller graph for this function:

char* db_get_database_version ( void  )

Definition at line 455 of file db_admin.c.

References NULL, rel_build_number(), and ws_copy_string().

Referenced by pt_evaluate_db_value_expr(), and pt_to_regu_variable().

Here is the caller graph for this function:

int db_get_expression ( DB_OBJECT object,
const char *  expression,
DB_VALUE value 
)

Definition at line 296 of file db_obj.c.

References CHECK_2ARGS_ERROR, CHECK_CONNECT_ERROR, and mq_get_expression().

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:

int db_get_global_transaction_info ( int  gtrid,
void *  buffer,
int  size 
)

Definition at line 1295 of file db_admin.c.

References ARG_FILE_LINE, CHECK_CONNECT_ERROR, CHECK_MODIFICATION_ERROR, ER_OBJ_INVALID_ARGUMENTS, er_set(), ER_WARNING_SEVERITY, NULL, and tran_get_global_tran_info().

Referenced by fn_xa_end_tran(), and fn_xa_recover().

Here is the caller graph for this function:

int db_get_ha_server_state ( char *  buffer,
int  maxlen 
)

Definition at line 2824 of file db_admin.c.

References CHECK_CONNECT_ERROR, css_ha_server_state_string(), and HA_SERVER_STATE_NA.

Referenced by csql_print_database().

Here is the caller graph for this function:

char* db_get_host_connected ( void  )

Definition at line 2806 of file db_admin.c.

Referenced by csql_print_database(), and ux_database_connect().

Here is the caller graph for this function:

DB_MARKER* db_get_input_markers ( DB_SESSION session,
int  stmt 
)
int db_get_last_insert_id ( DB_VALUE value)

Definition at line 1058 of file db_admin.c.

References CHECK_CONNECT_ERROR, and csession_get_last_insert_id().

Referenced by ux_get_last_insert_id().

Here is the caller graph for this function:

int db_get_method_descriptor ( DB_OBJECT obj,
const char *  methname,
int  class_method,
DB_METHDESC **  descriptor 
)

Definition at line 857 of file db_obj.c.

References CHECK_3ARGS_ERROR, CHECK_CONNECT_ERROR, and sm_get_method_descriptor().

DB_NAMELIST* db_get_method_file_names ( DB_OBJECT obj)
DB_METHFILE* db_get_method_files ( DB_OBJECT obj)
const char* db_get_method_function ( DB_OBJECT obj,
const char *  name 
)
DB_NAMELIST* db_get_method_names ( DB_OBJECT obj)
char* db_get_method_source_file ( DB_OBJECT obj,
const char *  name 
)
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:

DB_SESSION_ERROR* db_get_next_error ( DB_SESSION_ERROR errors,
int *  linenumber,
int *  columnnumber 
)
DB_SESSION_ERROR* db_get_next_warning ( DB_SESSION_WARNING errors,
int *  linenumber,
int *  columnnumber 
)

Definition at line 1013 of file db_vdb.c.

References ARG_FILE_LINE, ER_PT_ERROR, er_set(), ER_WARNING_SEVERITY, NULL, and pt_get_next_error().

DB_NAMELIST* db_get_object_id ( DB_OBJECT vclass)
DB_NAMELIST* db_get_ordered_attribute_names ( DB_OBJECT obj)
DB_OBJECT* db_get_owner ( DB_OBJECT classobj)

Definition at line 1892 of file db_admin.c.

References au_get_class_owner(), CHECK_1ARG_NULL, and CHECK_CONNECT_NULL.

Referenced by help_class_names(), load_has_authorization(), mq_virtual_queries(), and pt_check_user_owns_class().

Here is the caller graph for this function:

int db_get_query_format ( const char *  CSQL_query,
DB_QUERY_TYPE **  type_list,
DB_QUERY_ERROR query_error 
)

Definition at line 1558 of file db_query.c.

References db_compile_and_execute_queries_internal(), DB_NO_OIDS, error(), and NO_ERROR.

DB_QUERY_TYPE* db_get_query_type_ptr ( DB_QUERY_RESULT result)

Definition at line 1431 of file db_vdb.c.

References db_query_result::query_type.

Referenced by csql_execute_statements().

Here is the caller graph for this function:

int db_get_row_count ( int *  row_count)

Definition at line 1046 of file db_admin.c.

References CHECK_CONNECT_ERROR, and csession_get_row_count().

Referenced by pt_evaluate_db_value_expr(), pt_fold_const_expr(), and ux_get_row_count().

Here is the caller graph for this function:

int db_get_row_count_cache ( void  )

Definition at line 2914 of file db_admin.c.

References db_Row_count.

Referenced by csql_display_trace(), pt_evaluate_db_value_expr(), pt_fold_const_expr(), tran_server_commit(), and ux_get_row_count().

Here is the caller graph for this function:

int db_get_serial_next_value ( const char *  serial_name,
DB_VALUE serial_value 
)

Definition at line 1866 of file db_obj.c.

References db_get_serial_next_value_ex().

int db_get_serial_next_value_ex ( const char *  serial_name,
DB_VALUE serial_value,
int  num_alloc 
)
SESSION_ID db_get_session_id ( void  )

Definition at line 2859 of file db_admin.c.

References db_Session_id.

Referenced by cas_access_log(), cas_main(), cas_make_session_for_driver(), cas_send_connect_reply_to_driver(), db_end_session(), db_find_or_create_session(), and ux_get_session_id().

Here is the caller graph for this function:

int db_get_shared ( DB_OBJECT object,
const char *  attpath,
DB_VALUE value 
)

Definition at line 255 of file db_obj.c.

References CHECK_2ARGS_ERROR, CHECK_CONNECT_ERROR, and obj_get_shared().

DB_NAMELIST* db_get_shared_attribute_names ( DB_OBJECT obj)
int db_get_start_line ( DB_SESSION session,
int  stmt 
)
DB_NAMELIST* db_get_subclass_names ( DB_OBJECT obj)
DB_NAMELIST* db_get_superclass_names ( DB_OBJECT obj)
int db_get_system_parameters ( char *  data,
int  len 
)
void db_get_tran_settings ( int *  lock_wait,
DB_TRAN_ISOLATION tran_isolation 
)

Definition at line 1554 of file db_admin.c.

References CHECK_CONNECT_VOID, and tran_get_tran_settings().

Referenced by pt_check_isolation_lvl().

Here is the caller graph for this function:

char* db_get_user_and_host_name ( void  )
char* db_get_user_name ( void  )
int db_get_variable ( DB_VALUE name,
DB_VALUE value 
)

Definition at line 1072 of file db_admin.c.

References CHECK_CONNECT_ERROR, and csession_get_variable().

Referenced by pt_evaluate_db_value_expr(), and values_list_to_values_array().

Here is the caller graph for this function:

char* db_get_vclass_ldb_name ( DB_OBJECT op)

Definition at line 199 of file db_virt.c.

References NULL.

DB_SESSION_ERROR* db_get_warnings ( DB_SESSION session)

Definition at line 985 of file db_vdb.c.

References NULL, db_session::parser, and pt_get_warnings().

int db_grant ( DB_OBJECT user,
DB_OBJECT classobj,
DB_AUTH  auth,
int  grant_option 
)
DB_CLASS_MODIFICATION_STATUS db_has_modified_class ( DB_SESSION session,
int  stmt_id 
)

Definition at line 2874 of file db_vdb.c.

References assert, DB_CLASS_NOT_MODIFIED, NULL, db_session::parser, pt_has_modified_class(), and db_session::statements.

Referenced by set_host_variables().

Here is the caller graph for this function:

void db_include_oid ( DB_SESSION session,
int  include_oid 
)

Definition at line 1508 of file db_vdb.c.

References db_session::include_oid.

Referenced by db_open_buffer_and_compile_first_statement(), uci_open_cs(), and ux_prepare().

Here is the caller graph for this function:

int db_is_any_class ( DB_OBJECT obj)
int db_is_class ( DB_OBJECT obj)
bool db_is_client_cache_reusable ( DB_QUERY_RESULT result)

Definition at line 3432 of file db_query.c.

References T_CACHE_HIT, and db_query_result::type.

Referenced by ux_execute(), and ux_execute_all().

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_indexed ( DB_OBJECT classobj,
const char *  attname 
)
bool db_is_input_marker ( DB_MARKER marker)

Definition at line 1299 of file db_vdb.c.

References pt_is_input_hostvar.

int db_is_instance ( DB_OBJECT obj)
int db_is_instance_of ( DB_OBJECT obj,
DB_OBJECT classobj 
)
bool db_is_output_marker ( DB_MARKER marker)

Definition at line 1318 of file db_vdb.c.

References pt_is_output_hostvar.

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_real_instance ( DB_OBJECT obj)

Definition at line 213 of file db_virt.c.

References CHECK_1ARG_ZERO, CHECK_CONNECT_ZERO, DB_FETCH_READ, db_object::is_vid, locator_is_class(), and vid_is_base_instance().

Referenced by db_real_instance().

Here is the caller graph for this function:

int db_is_subclass ( DB_OBJECT classobj,
DB_OBJECT supermop 
)
int db_is_superclass ( DB_OBJECT supermop,
DB_OBJECT classobj 
)
int db_is_system_class ( DB_OBJECT op)
void db_link_static_methods ( DB_METHOD_LINK methods)

Definition at line 2523 of file db_admin.c.

References db_method_link::function, db_method_link::method, NULL, and sm_add_static_method().

Referenced by au_link_static_methods().

Here is the caller graph for this function:

int db_list_length ( DB_LIST list)

Definition at line 69 of file db_old.c.

References ws_list_length().

Referenced by db_fetch_list(), and sch_trigger().

Here is the caller graph for this function:

int db_lock_read ( DB_OBJECT op)

Definition at line 2001 of file db_admin.c.

References CHECK_1ARG_ERROR, CHECK_CONNECT_ERROR, and obj_lock().

Referenced by fn_oid().

Here is the caller graph for this function:

int db_lock_write ( DB_OBJECT op)

Definition at line 2030 of file db_admin.c.

References CHECK_1ARG_ERROR, CHECK_CONNECT_ERROR, and obj_lock().

Referenced by fn_oid().

Here is the caller graph for this function:

DB_DOMAIN* db_marker_domain ( DB_MARKER marker)

Definition at line 1276 of file db_vdb.c.

References parser_node::expected_domain, NULL, and pt_node_to_db_domain().

Referenced by ux_get_parameter_info().

Here is the caller graph for this function:

int db_marker_index ( DB_MARKER marker)

Definition at line 1257 of file db_vdb.c.

References pt_host_var_index().

DB_MARKER* db_marker_next ( DB_MARKER marker)

Definition at line 1238 of file db_vdb.c.

References NULL, and pt_node_next().

Referenced by ux_get_parameter_info().

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:

int db_namelist_add ( DB_NAMELIST **  list,
const char *  name 
)

Definition at line 84 of file db_virt.c.

References CHECK_2ARGS_ZERO, CHECK_CONNECT_FALSE, error(), nlist_add(), and NULL.

int db_namelist_append ( DB_NAMELIST **  list,
const char *  name 
)

Definition at line 108 of file db_virt.c.

References CHECK_2ARGS_ZERO, CHECK_CONNECT_FALSE, error(), nlist_append(), and NULL.

Referenced by do_set_object_id().

Here is the caller graph for this function:

DB_NAMELIST* db_namelist_copy ( DB_NAMELIST list)

Definition at line 148 of file db_old.c.

References CHECK_CONNECT_NULL, and nlist_copy().

void db_namelist_free ( DB_NAMELIST list)

Definition at line 71 of file db_virt.c.

References nlist_free().

Referenced by do_set_object_id().

Here is the caller graph for this function:

void db_namelist_print ( DB_NAMELIST list)

Definition at line 233 of file db_old.c.

References db_namelist::name, db_namelist::next, and NULL.

void db_namelist_remove ( DB_NAMELIST **  list,
const char *  name 
)

Definition at line 213 of file db_old.c.

References db_namelist::next, nlist_free(), nlist_remove(), and NULL.

bool db_need_ignore_repl_delay ( void  )

Definition at line 743 of file db_admin.c.

References db_host_status_list::connected_host_status, DB_HS_HA_DELAYED, NULL, and db_host_status::status.

Referenced by client_capabilities().

Here is the caller graph for this function:

int db_num_volumes ( void  )

Definition at line 374 of file db_admin.c.

References boot_find_number_permanent_volumes(), and CHECK_CONNECT_ZERO.

int db_number_of_input_markers ( DB_SESSION session,
int  stmt 
)

Definition at line 2641 of file db_admin.c.

References NULL, and ws_mop().

Referenced by casobj_to_dbobj(), do_reclaim_class_addresses(), get_name_from_class_oid(), net_arg_get_dbobject(), or_create(), show_statistics(), ux_str_to_obj(), and value_to_db_value().

Here is the caller graph for this function:

void db_objlist_free ( DB_OBJLIST list)
DB_OBJECT* db_objlist_get ( DB_OBJLIST list,
int  psn 
)

Definition at line 96 of file db_old.c.

References i, db_objlist::next, and NULL.

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.

void db_objlist_print ( DB_OBJLIST list)
DB_SESSION* db_open_file ( FILE *  file)

Definition at line 251 of file db_vdb.c.

References CHECK_CONNECT_NULL, db_open_local(), initialize_session(), db_session::parser, parser_parse_file(), and db_session::statements.

Referenced by csql_execute_statements().

Here is the caller graph for this function:

DB_SESSION* db_open_file_name ( const char *  name)
const char* db_parameter_name ( DB_PARAMETER param)

Definition at line 3791 of file db_vdb.c.

References NULL, and pt_string_part().

DB_PARAMETER* db_parameter_next ( DB_PARAMETER param)

Definition at line 3772 of file db_vdb.c.

References NULL, and pt_node_next().

int db_ping_server ( int  client_val,
int *  server_val 
)

Definition at line 983 of file db_admin.c.

References CHECK_CONNECT_ERROR, error(), net_client_ping_server(), and NO_ERROR.

Referenced by la_check_time_commit(), and ux_check_connection().

Here is the caller graph for this function:

void db_preload_classes ( const char *  name1,
  ... 
)

Definition at line 2476 of file db_admin.c.

References CHECK_CONNECT_VOID, ml_add(), NULL, sm_find_class(), and sm_prelink_methods().

void db_print ( DB_OBJECT obj)

Definition at line 1251 of file db_obj.c.

References CHECK_CONNECT_VOID, help_print_obj(), NULL, and file_print_output::std_output().

int db_print_mop ( DB_OBJECT obj,
char *  buffer,
int  maxlen 
)

Definition at line 733 of file db_old.c.

References CHECK_2ARGS_ZERO, CHECK_CONNECT_ZERO, and help_describe_mop().

Referenced by object_to_string().

Here is the caller graph for this function:

void db_print_stats ( void  )

Definition at line 1985 of file db_admin.c.

References ws_dump().

int db_put ( DB_OBJECT obj,
const char *  name,
DB_VALUE value 
)
int db_query_execute ( const char *  CSQL_query,
DB_QUERY_RESULT **  result,
DB_QUERY_ERROR query_error 
)

Definition at line 1808 of file db_query.c.

References db_compile_and_execute_queries_internal(), DB_NO_OIDS, error(), and NO_ERROR.

char* db_query_format_attr_name ( DB_QUERY_TYPE query_type)

Definition at line 1622 of file db_query.c.

References db_query_type::attr_name, and CHECK_1ARG_NULL.

Referenced by prepare_column_list_info_set().

Here is the caller graph for this function:

const char* db_query_format_class_name ( DB_QUERY_TYPE query_type)

Definition at line 1740 of file db_query.c.

References CHECK_1ARG_NULL, tp_domain::class_mop, db_get_class_name(), db_query_format_src_domain(), and NULL.

Referenced by prepare_column_list_info_set(), and ux_make_out_rs().

Here is the caller graph for this function:

DB_COL_TYPE db_query_format_col_type ( DB_QUERY_TYPE query_type)

Definition at line 1590 of file db_query.c.

References CHECK_1ARG_RETURN_EXPR, db_query_type::col_type, and DB_COL_OTHER.

Referenced by prepare_column_list_info_set().

Here is the caller graph for this function:

DB_DOMAIN* db_query_format_domain ( DB_QUERY_TYPE query_type)

Definition at line 1661 of file db_query.c.

References CHECK_1ARG_NULL, and db_query_type::domain.

Referenced by copy_column_spec_to_sqlda(), prepare_column_list_info_set(), and ux_make_out_rs().

Here is the caller graph for this function:

void db_query_format_free ( DB_QUERY_TYPE query_type)

Definition at line 1723 of file db_query.c.

References db_free_query_format(), and NULL.

Referenced by alloc_dynamic(), free_attr_spec(), free_dynamic(), hm_qresult_end(), prepare_column_list_info_set(), uci_object_describe(), and uci_prepare().

Here is the caller graph for this function:

int db_query_format_is_non_null ( DB_QUERY_TYPE query_type)
char* db_query_format_original_name ( DB_QUERY_TYPE query_type)

Definition at line 1648 of file db_query.c.

References CHECK_1ARG_NULL, and db_query_type::original_name.

Referenced by prepare_column_list_info_set(), and ux_make_out_rs().

Here is the caller graph for this function:

int db_query_format_size ( DB_QUERY_TYPE query_type)

Definition at line 1704 of file db_query.c.

References CHECK_1ARG_MINUSONE, and db_query_type::size.

Referenced by copy_column_spec_to_sqlda().

Here is the caller graph for this function:

char* db_query_format_spec_name ( DB_QUERY_TYPE query_type)

Definition at line 1635 of file db_query.c.

References CHECK_1ARG_NULL, and db_query_type::spec_name.

DB_TYPE db_query_format_type ( DB_QUERY_TYPE query_type)

Definition at line 1690 of file db_query.c.

References CHECK_1ARG_RETURN_EXPR, db_query_type::db_type, and DB_TYPE_NULL.

Referenced by csql_results().

Here is the caller graph for this function:

int db_query_get_cache_time ( DB_QUERY_RESULT result,
CACHE_TIME cache_time 
)

Definition at line 3451 of file db_query.c.

References db_select_result::cache_time, CACHE_TIME_RESET, NO_ERROR, NULL, db_query_result::res, db_query_result::s, db_query_result::status, T_CLOSED, T_SELECT, and db_query_result::type.

Referenced by execute_info_set().

Here is the caller graph for this function:

int db_query_get_tuple_value ( DB_QUERY_RESULT result,
int  tuple_index,
DB_VALUE value 
)
int db_query_plan_dump_file ( char *  filename)

Definition at line 3541 of file db_query.c.

References NO_ERROR, NULL, query_Plan_dump_filename, and strdup().

Referenced by cas_log_query_info_init().

Here is the caller graph for this function:

int db_query_prefetch_columns ( DB_QUERY_RESULT result,
int *  columns,
int  col_count 
)
DB_QUERY_SPEC* db_query_spec_next ( DB_QUERY_SPEC query_spec)
const char* db_query_spec_string ( DB_QUERY_SPEC query_spec)
int db_rename ( DB_OBJECT classobj,
const char *  name,
int  class_namespace,
const char *  newname 
)
int db_rename_attribute ( DB_OBJECT classobj,
const char *  name,
int  class_attribute,
const char *  newname 
)
int db_rename_class ( DB_OBJECT classobj,
const char *  new_name 
)
int db_rename_method ( DB_OBJECT classobj,
const char *  name,
int  class_method,
const char *  newname 
)
int db_rename_trigger ( DB_OBJECT obj,
const char *  newname 
)
int db_reset_latest_query_status ( void  )

Definition at line 1132 of file db_admin.c.

References CHECK_CONNECT_ERROR, NO_ERROR, and tran_reset_latest_query_status().

Referenced by csql_execute_statements().

Here is the caller graph for this function:

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:

int db_restart_ex ( const char *  program,
const char *  db_name,
const char *  db_user,
const char *  db_password,
const char *  preferred_hosts,
int  client_type 
)

Definition at line 934 of file db_admin.c.

References au_login(), db_restart(), db_set_client_type(), db_set_preferred_hosts(), NO_ERROR, and NULL.

Referenced by csql(), csql_do_session_cmd(), tranlist(), unloaddb(), and ux_database_connect().

Here is the caller graph for this function:

int db_revoke ( DB_OBJECT user,
DB_OBJECT classobj,
DB_AUTH  auth 
)
void db_rewind_statement ( DB_SESSION session)

Definition at line 785 of file db_vdb.c.

References db_session::dimension, and db_session::stmt_ndx.

Referenced by ux_execute_all().

Here is the caller graph for this function:

int db_savepoint_transaction ( const char *  savepoint_name)

Definition at line 1198 of file db_admin.c.

References CHECK_CONNECT_ERROR, and db_savepoint_transaction_internal().

Referenced by fn_savepoint(), and ux_execute_all().

Here is the caller graph for this function:

int db_send ( DB_OBJECT obj,
const char *  name,
DB_VALUE returnval,
  ... 
)
int db_send_argarray ( DB_OBJECT obj,
const char *  name,
DB_VALUE returnval,
DB_VALUE **  args 
)
int db_send_arglist ( DB_OBJECT obj,
const char *  name,
DB_VALUE returnval,
DB_VALUE_LIST args 
)
int db_set_argument_domain ( DB_OBJECT classobj,
const char *  name,
int  class_method,
int  arg_index,
const char *  domain 
)
int db_set_class_method_arg_domain ( DB_OBJECT classobj,
const char *  name,
int  arg_index,
const char *  domain 
)

Definition at line 1024 of file db_class.c.

References add_arg_domain().

int db_set_client_cache_time ( DB_SESSION session,
int  stmt_ndx,
CACHE_TIME cache_time 
)
void db_set_connected_host_status ( char *  host_connected)

Definition at line 681 of file db_admin.c.

References db_host_status_list::connected_host_status, db_add_host_status(), db_find_host_status(), DB_HS_NORMAL, and NULL.

Referenced by boot_client_all_finalize().

Here is the caller graph for this function:

int db_set_global_transaction_info ( int  gtrid,
void *  info,
int  size 
)

Definition at line 1262 of file db_admin.c.

References ARG_FILE_LINE, CHECK_CONNECT_ERROR, CHECK_MODIFICATION_ERROR, ER_OBJ_INVALID_ARGUMENTS, er_set(), ER_WARNING_SEVERITY, NULL, and tran_set_global_tran_info().

Referenced by fn_xa_prepare().

Here is the caller graph for this function:

void db_set_host_status ( char *  hostname,
int  status 
)
void db_set_interrupt ( int  set)

Definition at line 1445 of file db_admin.c.

References CHECK_CONNECT_VOID, and locator_set_sig_interrupt().

Referenced by backupdb_sig_interrupt_handler(), csql_display_trace(), csql_execute_statements(), process_request(), query_cancel(), and signal_intr().

Here is the caller graph for this function:

int db_set_isolation ( DB_TRAN_ISOLATION  isolation)
int db_set_loader_commands ( DB_OBJECT classobj,
const char *  commands 
)
int db_set_lock_timeout ( int  seconds)

Definition at line 1496 of file db_admin.c.

References CHECK_CONNECT_MINUSONE, CHECK_MODIFICATION_MINUSONE, and tran_reset_wait_times().

Referenced by applylogdb(), checksumdb(), and unloaddb().

Here is the caller graph for this function:

int db_set_method_arg_domain ( DB_OBJECT classobj,
const char *  name,
int  arg_index,
const char *  domain 
)

Definition at line 1006 of file db_class.c.

References add_arg_domain().

int db_set_password ( DB_OBJECT user,
const char *  oldpass,
const char *  newpass 
)
void db_set_preferred_hosts ( const char *  hosts)

Definition at line 508 of file db_admin.c.

References db_Preferred_hosts, free_and_init, and strdup().

Referenced by db_restart_ex(), and ux_database_connect().

Here is the caller graph for this function:

void db_set_session_id ( const SESSION_ID  session_id)

Definition at line 2870 of file db_admin.c.

References db_Session_id.

Referenced by cas_set_session_id(), db_find_or_create_session(), and ux_set_session_id().

Here is the caller graph for this function:

int db_set_suppress_repl_on_transaction ( int  set)

Definition at line 1460 of file db_admin.c.

References CHECK_CONNECT_ERROR, and log_set_suppress_repl_on_transaction().

Referenced by do_execute_statement(), and do_statement().

Here is the caller graph for this function:

int db_set_user_comment ( DB_OBJECT user,
const char *  comment 
)
int db_statement_count ( DB_SESSION session)
void db_string_free ( char *  string)
void db_synchronize_cache ( void  )

Definition at line 1586 of file db_admin.c.

References CHECK_CONNECT_VOID, and locator_synch_isolation_incons().

Referenced by fetch_result().

Here is the caller graph for this function:

int db_totalpgs ( const char *  vlabel)

Definition at line 2073 of file db_admin.c.

References CHECK_CONNECT_ZERO, disk_get_total_numpages(), and NULL_VOLID.

int db_trigger_action ( DB_OBJECT trobj,
char **  action 
)

Definition at line 1742 of file db_obj.c.

References CHECK_2ARGS_ERROR, CHECK_CONNECT_ERROR, and tr_trigger_action().

Referenced by fetch_trigger(), and trigger_description::init().

Here is the caller graph for this function:

int db_trigger_action_time ( DB_OBJECT trobj,
DB_TRIGGER_TIME tr_time 
)

Definition at line 1724 of file db_obj.c.

References CHECK_2ARGS_ERROR, CHECK_CONNECT_ERROR, and tr_trigger_action_time().

Referenced by fetch_trigger().

Here is the caller graph for this function:

int db_trigger_action_type ( DB_OBJECT trobj,
DB_TRIGGER_ACTION type 
)

Definition at line 1705 of file db_obj.c.

References CHECK_2ARGS_ERROR, CHECK_CONNECT_ERROR, and tr_trigger_action_type().

int db_trigger_attribute ( DB_OBJECT trobj,
char **  attr 
)

Definition at line 1643 of file db_obj.c.

References CHECK_2ARGS_ERROR, CHECK_CONNECT_ERROR, and tr_trigger_attribute().

Referenced by fetch_trigger().

Here is the caller graph for this function:

int db_trigger_class ( DB_OBJECT trobj,
DB_OBJECT **  class_obj 
)

Definition at line 1623 of file db_obj.c.

References CHECK_2ARGS_ERROR, CHECK_CONNECT_ERROR, and tr_trigger_class().

Referenced by fetch_trigger().

Here is the caller graph for this function:

int db_trigger_comment ( DB_OBJECT trobj,
char **  comment 
)

Definition at line 1763 of file db_obj.c.

References CHECK_2ARGS_ERROR, CHECK_CONNECT_ERROR, and tr_trigger_comment().

Referenced by fetch_trigger().

Here is the caller graph for this function:

int db_trigger_condition ( DB_OBJECT trobj,
char **  condition 
)

Definition at line 1663 of file db_obj.c.

References CHECK_2ARGS_ERROR, CHECK_CONNECT_ERROR, and tr_trigger_condition().

Referenced by fetch_trigger(), and trigger_description::init().

Here is the caller graph for this function:

int db_trigger_condition_time ( DB_OBJECT trobj,
DB_TRIGGER_TIME tr_time 
)

Definition at line 1683 of file db_obj.c.

References CHECK_2ARGS_ERROR, CHECK_CONNECT_ERROR, and tr_trigger_condition_time().

Referenced by fetch_trigger().

Here is the caller graph for this function:

int db_trigger_event ( DB_OBJECT trobj,
DB_TRIGGER_EVENT event 
)

Definition at line 1603 of file db_obj.c.

References CHECK_2ARGS_ERROR, CHECK_CONNECT_ERROR, and tr_trigger_event().

Referenced by fetch_trigger().

Here is the caller graph for this function:

int db_trigger_name ( DB_OBJECT trobj,
char **  name 
)

Definition at line 1548 of file db_obj.c.

References CHECK_2ARGS_ERROR, CHECK_CONNECT_ERROR, and tr_trigger_name().

Referenced by fetch_trigger().

Here is the caller graph for this function:

int db_trigger_priority ( DB_OBJECT trobj,
double *  priority 
)

Definition at line 1585 of file db_obj.c.

References CHECK_2ARGS_ERROR, CHECK_CONNECT_ERROR, and tr_trigger_priority().

Referenced by fetch_trigger().

Here is the caller graph for this function:

int db_trigger_status ( DB_OBJECT trobj,
DB_TRIGGER_STATUS status 
)

Definition at line 1567 of file db_obj.c.

References CHECK_2ARGS_ERROR, CHECK_CONNECT_ERROR, and tr_trigger_status().

Referenced by fetch_trigger().

Here is the caller graph for this function:

DB_DOMAIN* db_type_to_db_domain ( DB_TYPE  type)

Definition at line 1710 of file db_macro.c.

void db_unlink_static_methods ( DB_METHOD_LINK methods)

Definition at line 2546 of file db_admin.c.

References db_method_link::method, NULL, and sm_delete_static_method().

void db_update_row_count_cache ( const int  row_count)

Definition at line 2924 of file db_admin.c.

References db_Row_count.

Referenced by csql_display_trace(), db_find_or_create_session(), do_commit(), pt_evaluate_db_value_expr(), pt_fold_const_expr(), and update_execution_values().

Here is the caller graph for this function:

char* db_vol_label ( int  volid,
char *  vol_fullname 
)

Definition at line 412 of file db_admin.c.

References CHECK_CONNECT_ZERO_TYPE, and disk_get_fullname().

void db_warnspace ( const char *  vlabel)

Definition at line 2452 of file db_admin.c.

References CHECK_CONNECT_VOID, fileio_find_volume_id_with_label(), and NULL.

int dbt_add_argument ( DB_CTMPL def,
const char *  name,
int  class_method,
int  arg_index,
const char *  domain 
)
int dbt_add_attribute ( DB_CTMPL def,
const char *  name,
const char *  domain,
DB_VALUE default_value 
)

Definition at line 272 of file db_temp.c.

References CHECK_3ARGS_ERROR, CHECK_CONNECT_ERROR, CHECK_MODIFICATION_ERROR, error(), ID_ATTRIBUTE, NO_ERROR, NULL, and smt_add_attribute_w_dflt().

Referenced by define_trigger_classes().

Here is the caller graph for this function:

int dbt_add_class_attribute ( DB_CTMPL def,
const char *  name,
const char *  domain,
DB_VALUE default_value 
)
int dbt_add_class_method ( DB_CTMPL def,
const char *  name,
const char *  implementation 
)

Definition at line 777 of file db_temp.c.

References CHECK_2ARGS_ERROR, CHECK_CONNECT_ERROR, CHECK_MODIFICATION_ERROR, error(), ID_CLASS_METHOD, NO_ERROR, and smt_add_method_any().

Referenced by do_add_methods().

Here is the caller graph for this function:

int dbt_add_class_resolution ( DB_CTMPL def,
DB_OBJECT super,
const char *  name,
const char *  alias 
)
int dbt_add_constraint ( DB_CTMPL def,
DB_CONSTRAINT_TYPE  constraint_type,
const char *  constraint_name,
const char **  attnames,
int  class_attributes,
const char *  comment 
)
int dbt_add_foreign_key ( DB_CTMPL def,
const char *  constraint_name,
const char **  attnames,
const char *  ref_class,
const char **  ref_attrs,
int  del_action,
int  upd_action,
const char *  comment 
)
int dbt_add_method ( DB_CTMPL def,
const char *  name,
const char *  implementation 
)

Definition at line 756 of file db_temp.c.

References CHECK_2ARGS_ERROR, CHECK_CONNECT_ERROR, CHECK_MODIFICATION_ERROR, error(), ID_METHOD, NO_ERROR, and smt_add_method_any().

Referenced by do_add_methods().

Here is the caller graph for this function:

int dbt_add_method_file ( DB_CTMPL def,
const char *  name 
)

Definition at line 1015 of file db_temp.c.

References CHECK_2ARGS_ERROR, CHECK_CONNECT_ERROR, CHECK_MODIFICATION_ERROR, error(), NO_ERROR, and smt_add_method_file().

Referenced by do_add_method_files().

Here is the caller graph for this function:

int dbt_add_query_spec ( DB_CTMPL def,
const char *  query 
)

Definition at line 1201 of file db_temp.c.

References CHECK_2ARGS_ERROR, CHECK_CONNECT_ERROR, CHECK_MODIFICATION_ERROR, error(), NO_ERROR, and smt_add_query_spec().

Referenced by add_query_to_virtual_class().

Here is the caller graph for this function:

int dbt_add_resolution ( DB_CTMPL def,
DB_OBJECT super,
const char *  name,
const char *  alias 
)
int dbt_add_set_argument_domain ( DB_CTMPL def,
const char *  name,
int  class_method,
int  arg_index,
const char *  domain 
)
int dbt_add_set_attribute_domain ( DB_CTMPL def,
const char *  name,
int  class_attribute,
const char *  domain 
)

Definition at line 569 of file db_temp.c.

References CHECK_2ARGS_ERROR, CHECK_CONNECT_ERROR, CHECK_MODIFICATION_ERROR, error(), NO_ERROR, and smt_add_set_attribute_domain().

Referenced by do_alter_one_clause_with_template().

Here is the caller graph for this function:

int dbt_add_shared_attribute ( DB_CTMPL def,
const char *  name,
const char *  domain,
DB_VALUE default_value 
)
int dbt_add_super ( DB_CTMPL def,
DB_OBJECT super 
)
int dbt_change_default ( DB_CTMPL def,
const char *  name,
int  class_attribute,
DB_VALUE value 
)

Definition at line 611 of file db_temp.c.

References CHECK_2ARGS_ERROR, CHECK_CONNECT_ERROR, CHECK_MODIFICATION_ERROR, error(), NO_ERROR, NULL, and smt_set_attribute_default().

Referenced by do_alter_one_clause_with_template().

Here is the caller graph for this function:

int dbt_change_domain ( DB_CTMPL def,
const char *  name,
int  class_attribute,
const char *  domain 
)

Definition at line 591 of file db_temp.c.

References ARG_FILE_LINE, CHECK_2ARGS_ERROR, CHECK_CONNECT_ERROR, CHECK_MODIFICATION_ERROR, ER_DB_NO_DOMAIN_CHANGE, ER_ERROR_SEVERITY, and er_set().

Referenced by do_alter_one_clause_with_template().

Here is the caller graph for this function:

int dbt_change_method_implementation ( DB_CTMPL def,
const char *  name,
int  class_method,
const char *  newname 
)

Definition at line 845 of file db_temp.c.

References CHECK_3ARGS_ERROR, CHECK_CONNECT_ERROR, CHECK_MODIFICATION_ERROR, error(), NO_ERROR, and smt_change_method_implementation().

Referenced by do_alter_one_clause_with_template().

Here is the caller graph for this function:

int dbt_change_query_spec ( DB_CTMPL def,
const char *  new_query,
const int  query_no 
)

Definition at line 1261 of file db_temp.c.

References CHECK_2ARGS_ERROR, CHECK_CONNECT_ERROR, CHECK_MODIFICATION_ERROR, error(), NO_ERROR, and smt_change_query_spec().

Referenced by do_alter_one_clause_with_template().

Here is the caller graph for this function:

int dbt_constrain_non_null ( DB_CTMPL def,
const char *  name,
int  class_attribute,
int  on_or_off 
)
int dbt_constrain_unique ( DB_CTMPL def,
const char *  name,
int  on_or_off 
)
DB_CTMPL* dbt_create_class ( const char *  name)

Definition at line 76 of file db_temp.c.

References CHECK_1ARG_NULL, CHECK_CONNECT_NULL, CHECK_MODIFICATION_NULL, dbt_reserve_name(), NULL, and smt_def_class().

Referenced by define_trigger_classes(), do_create_entity(), and do_create_partition().

Here is the caller graph for this function:

DB_OTMPL* dbt_create_object ( DB_OBJECT classobj)
DB_CTMPL* dbt_create_vclass ( const char *  name)

Definition at line 104 of file db_temp.c.

References CHECK_1ARG_NULL, CHECK_CONNECT_NULL, CHECK_MODIFICATION_NULL, dbt_reserve_name(), NULL, SM_VCLASS_CT, and smt_def_typed_class().

Referenced by do_create_entity().

Here is the caller graph for this function:

int dbt_drop_class_attribute ( DB_CTMPL def,
const char *  name 
)

Definition at line 734 of file db_temp.c.

References CHECK_2ARGS_ERROR, CHECK_CONNECT_ERROR, CHECK_MODIFICATION_ERROR, error(), ID_CLASS_ATTRIBUTE, NO_ERROR, and smt_delete_any().

Referenced by do_alter_one_clause_with_template().

Here is the caller graph for this function:

int dbt_drop_class_method ( DB_CTMPL def,
const char *  name 
)

Definition at line 885 of file db_temp.c.

References CHECK_2ARGS_ERROR, CHECK_CONNECT_ERROR, CHECK_MODIFICATION_ERROR, error(), ID_CLASS_METHOD, NO_ERROR, and smt_delete_any().

Referenced by do_alter_one_clause_with_template().

Here is the caller graph for this function:

int dbt_drop_class_resolution ( DB_CTMPL def,
DB_OBJECT super,
const char *  name 
)
int dbt_drop_method ( DB_CTMPL def,
const char *  name 
)

Definition at line 865 of file db_temp.c.

References CHECK_2ARGS_ERROR, CHECK_CONNECT_ERROR, CHECK_MODIFICATION_ERROR, error(), ID_METHOD, NO_ERROR, and smt_delete_any().

Referenced by do_alter_one_clause_with_template().

Here is the caller graph for this function:

int dbt_drop_method_file ( DB_CTMPL def,
const char *  name 
)

Definition at line 1035 of file db_temp.c.

References CHECK_2ARGS_ERROR, CHECK_CONNECT_ERROR, CHECK_MODIFICATION_ERROR, error(), NO_ERROR, and smt_drop_method_file().

Referenced by do_alter_one_clause_with_template().

Here is the caller graph for this function:

int dbt_drop_method_files ( DB_CTMPL def)
int dbt_drop_query_spec ( DB_CTMPL def,
const int  query_no 
)

Definition at line 1221 of file db_temp.c.

References CHECK_1ARG_ERROR, CHECK_CONNECT_ERROR, CHECK_MODIFICATION_ERROR, error(), NO_ERROR, and smt_drop_query_spec().

Referenced by do_alter_one_clause_with_template().

Here is the caller graph for this function:

int dbt_drop_resolution ( DB_CTMPL def,
DB_OBJECT super,
const char *  name 
)
int dbt_drop_set_attribute_domain ( DB_CTMPL def,
const char *  name,
int  class_attribute,
const char *  domain 
)
int dbt_drop_shared_attribute ( DB_CTMPL def,
const char *  name 
)
int dbt_drop_super ( DB_CTMPL def,
DB_OBJECT super 
)
int dbt_drop_super_connect ( DB_CTMPL def,
DB_OBJECT super 
)
DB_CTMPL* dbt_edit_class ( DB_OBJECT classobj)
DB_OTMPL* dbt_edit_object ( DB_OBJECT object)
DB_OBJECT* dbt_finish_object_and_decache_when_failure ( DB_OTMPL def)
int dbt_put ( DB_OTMPL def,
const char *  name,
DB_VALUE value 
)

Definition at line 635 of file db_obj.c.

References CHECK_2ARGS_ERROR, CHECK_CONNECT_ERROR, CHECK_MODIFICATION_ERROR, CHECK_PARTITION_NONE, obj_template::classobj, dbt_put_internal(), do_check_partitioned_class(), error(), and NO_ERROR.

Referenced by ux_oid_put().

Here is the caller graph for this function:

int dbt_rename_method_file ( DB_CTMPL def,
const char *  new_name,
const char *  old_name 
)

Definition at line 1075 of file db_temp.c.

References CHECK_3ARGS_ERROR, CHECK_CONNECT_ERROR, CHECK_MODIFICATION_ERROR, error(), NO_ERROR, and smt_rename_method_file().

Referenced by do_alter_one_clause_with_template().

Here is the caller graph for this function:

int dbt_set_loader_commands ( DB_CTMPL def,
const char *  commands 
)
int dbt_set_object_id ( DB_CTMPL def,
DB_NAMELIST id_list 
)

Definition at line 1281 of file db_temp.c.

References NO_ERROR.

Referenced by do_set_object_id().

Here is the caller graph for this function: