📄 ibase.h
字号:
#define blr_continue (unsigned char)0
#define blr_forward (unsigned char)1
#define blr_backward (unsigned char)2
#define blr_bof_forward (unsigned char)3
#define blr_eof_backward (unsigned char)4
#define blr_lock_relation (unsigned char)114
#define blr_lock_record (unsigned char)115
#define blr_set_bookmark (unsigned char)116
#define blr_get_bookmark (unsigned char)117
#define blr_run_count (unsigned char)118 /* changed from 88 to avoid conflict with blr_parameter3 */
#define blr_rs_stream (unsigned char)119
#define blr_exec_proc (unsigned char)120
#define blr_begin_range (unsigned char)121
#define blr_end_range (unsigned char)122
#define blr_delete_range (unsigned char)123
#define blr_procedure (unsigned char)124
#define blr_pid (unsigned char)125
#define blr_exec_pid (unsigned char)126
#define blr_singular (unsigned char)127
#define blr_abort (unsigned char)128
#define blr_block (unsigned char)129
#define blr_error_handler (unsigned char)130
#define blr_cast (unsigned char)131
#define blr_release_lock (unsigned char)132
#define blr_release_locks (unsigned char)133
#define blr_start_savepoint (unsigned char)134
#define blr_end_savepoint (unsigned char)135
#define blr_find_dbkey (unsigned char)136
#define blr_range_relation (unsigned char)137
#define blr_delete_ranges (unsigned char)138
#define blr_plan (unsigned char)139 /* access plan items */
#define blr_merge (unsigned char)140
#define blr_join (unsigned char)141
#define blr_sequential (unsigned char)142
#define blr_navigational (unsigned char)143
#define blr_indices (unsigned char)144
#define blr_retrieve (unsigned char)145
#define blr_relation2 (unsigned char)146
#define blr_rid2 (unsigned char)147
#define blr_reset_stream (unsigned char)148
#define blr_release_bookmark (unsigned char)149
#define blr_set_generator (unsigned char)150
#define blr_ansi_any (unsigned char)151 /* required for NULL handling */
#define blr_exists (unsigned char)152 /* required for NULL handling */
#define blr_cardinality (unsigned char)153
#define blr_record_version (unsigned char)154 /* get tid of record */
#define blr_stall (unsigned char)155 /* fake server stall */
#define blr_seek_no_warn (unsigned char)156
#define blr_find_dbkey_version (unsigned char)157 /* find dbkey with record version */
#define blr_ansi_all (unsigned char)158 /* required for NULL handling */
#define blr_extract (unsigned char)159
/* sub parameters for blr_extract */
#define blr_extract_year (unsigned char)0
#define blr_extract_month (unsigned char)1
#define blr_extract_day (unsigned char)2
#define blr_extract_hour (unsigned char)3
#define blr_extract_minute (unsigned char)4
#define blr_extract_second (unsigned char)5
#define blr_extract_weekday (unsigned char)6
#define blr_extract_yearday (unsigned char)7
#define blr_current_date (unsigned char)160
#define blr_current_timestamp (unsigned char)161
#define blr_current_time (unsigned char)162
/* These verbs were added in 6.0, primarily to support 64-bit integers */
#define blr_add2 (unsigned char)163
#define blr_subtract2 (unsigned char)164
#define blr_multiply2 (unsigned char)165
#define blr_divide2 (unsigned char)166
#define blr_agg_total2 (unsigned char)167
#define blr_agg_total_distinct2 (unsigned char)168
#define blr_agg_average2 (unsigned char)169
#define blr_agg_average_distinct2 (unsigned char)170
#define blr_average2 (unsigned char)171
#define blr_gen_id2 (unsigned char)172
#define blr_set_generator2 (unsigned char)173
/* FB1 specific BLR */
#define blr_current_role (unsigned char)174
#define blr_skip (unsigned char)175
/* FB2 specific BLR */
#define blr_exec_sql (unsigned char)176
#define blr_internal_info (unsigned char)177
#define blr_nullsfirst (unsigned char)178
/**********************************/
/* Database parameter block stuff */
/**********************************/
#define isc_dpb_version1 1
#define isc_dpb_cdd_pathname 1
#define isc_dpb_allocation 2
#define isc_dpb_journal 3
#define isc_dpb_page_size 4
#define isc_dpb_num_buffers 5
#define isc_dpb_buffer_length 6
#define isc_dpb_debug 7
#define isc_dpb_garbage_collect 8
#define isc_dpb_verify 9
#define isc_dpb_sweep 10
#define isc_dpb_enable_journal 11
#define isc_dpb_disable_journal 12
#define isc_dpb_dbkey_scope 13
#define isc_dpb_number_of_users 14
#define isc_dpb_trace 15
#define isc_dpb_no_garbage_collect 16
#define isc_dpb_damaged 17
#define isc_dpb_license 18
#define isc_dpb_sys_user_name 19
#define isc_dpb_encrypt_key 20
#define isc_dpb_activate_shadow 21
#define isc_dpb_sweep_interval 22
#define isc_dpb_delete_shadow 23
#define isc_dpb_force_write 24
#define isc_dpb_begin_log 25
#define isc_dpb_quit_log 26
#define isc_dpb_no_reserve 27
#define isc_dpb_user_name 28
#define isc_dpb_password 29
#define isc_dpb_password_enc 30
#define isc_dpb_sys_user_name_enc 31
#define isc_dpb_interp 32
#define isc_dpb_online_dump 33
#define isc_dpb_old_file_size 34
#define isc_dpb_old_num_files 35
#define isc_dpb_old_file 36
#define isc_dpb_old_start_page 37
#define isc_dpb_old_start_seqno 38
#define isc_dpb_old_start_file 39
#define isc_dpb_drop_walfile 40
#define isc_dpb_old_dump_id 41
#define isc_dpb_wal_backup_dir 42
#define isc_dpb_wal_chkptlen 43
#define isc_dpb_wal_numbufs 44
#define isc_dpb_wal_bufsize 45
#define isc_dpb_wal_grp_cmt_wait 46
#define isc_dpb_lc_messages 47
#define isc_dpb_lc_ctype 48
#define isc_dpb_cache_manager 49
#define isc_dpb_shutdown 50
#define isc_dpb_online 51
#define isc_dpb_shutdown_delay 52
#define isc_dpb_reserved 53
#define isc_dpb_overwrite 54
#define isc_dpb_sec_attach 55
#define isc_dpb_disable_wal 56
#define isc_dpb_connect_timeout 57
#define isc_dpb_dummy_packet_interval 58
#define isc_dpb_gbak_attach 59
#define isc_dpb_sql_role_name 60
#define isc_dpb_set_page_buffers 61
#define isc_dpb_working_directory 62
#define isc_dpb_sql_dialect 63
#define isc_dpb_set_db_readonly 64
#define isc_dpb_set_db_sql_dialect 65
#define isc_dpb_gfix_attach 66
#define isc_dpb_gstat_attach 67
/*********************************/
/* isc_dpb_verify specific flags */
/*********************************/
#define isc_dpb_pages 1
#define isc_dpb_records 2
#define isc_dpb_indices 4
#define isc_dpb_transactions 8
#define isc_dpb_no_update 16
#define isc_dpb_repair 32
#define isc_dpb_ignore 64
/***********************************/
/* isc_dpb_shutdown specific flags */
/***********************************/
#define isc_dpb_shut_cache 1
#define isc_dpb_shut_attachment 2
#define isc_dpb_shut_transaction 4
#define isc_dpb_shut_force 8
/**************************************/
/* Bit assignments in RDB$SYSTEM_FLAG */
/**************************************/
#define RDB_system 1
#define RDB_id_assigned 2
/*************************************/
/* Transaction parameter block stuff */
/*************************************/
#define isc_tpb_version1 1
#define isc_tpb_version3 3
#define isc_tpb_consistency 1
#define isc_tpb_concurrency 2
#define isc_tpb_shared 3
#define isc_tpb_protected 4
#define isc_tpb_exclusive 5
#define isc_tpb_wait 6
#define isc_tpb_nowait 7
#define isc_tpb_read 8
#define isc_tpb_write 9
#define isc_tpb_lock_read 10
#define isc_tpb_lock_write 11
#define isc_tpb_verb_time 12
#define isc_tpb_commit_time 13
#define isc_tpb_ignore_limbo 14
#define isc_tpb_read_committed 15
#define isc_tpb_autocommit 16
#define isc_tpb_rec_version 17
#define isc_tpb_no_rec_version 18
#define isc_tpb_restart_requests 19
#define isc_tpb_no_auto_undo 20
/************************/
/* Blob Parameter Block */
/************************/
#define isc_bpb_version1 1
#define isc_bpb_source_type 1
#define isc_bpb_target_type 2
#define isc_bpb_type 3
#define isc_bpb_source_interp 4
#define isc_bpb_target_interp 5
#define isc_bpb_filter_parameter 6
#define isc_bpb_type_segmented 0
#define isc_bpb_type_stream 1
/*********************************/
/* Service parameter block stuff */
/*********************************/
#define isc_spb_version1 1
#define isc_spb_current_version 2
#define isc_spb_version isc_spb_current_version
#define isc_spb_user_name isc_dpb_user_name
#define isc_spb_sys_user_name isc_dpb_sys_user_name
#define isc_spb_sys_user_name_enc isc_dpb_sys_user_name_enc
#define isc_spb_password isc_dpb_password
#define isc_spb_password_enc isc_dpb_password_enc
#define isc_spb_command_line 105
#define isc_spb_dbname 106
#define isc_spb_verbose 107
#define isc_spb_options 108
#define isc_spb_connect_timeout isc_dpb_connect_timeout
#define isc_spb_dummy_packet_interval isc_dpb_dummy_packet_interval
#define isc_spb_sql_role_name isc_dpb_sql_role_name
/*********************************/
/* Information call declarations */
/*********************************/
/****************************/
/* Common, structural codes */
/****************************/
#define isc_info_end 1
#define isc_info_truncated 2
#define isc_info_error 3
#define isc_info_data_not_ready 4
#define isc_info_flag_end 127
/******************************/
/* Database information items */
/******************************/
enum db_info_types
{
isc_info_db_id = 4,
isc_info_reads = 5,
isc_info_writes = 6,
isc_info_fetches = 7,
isc_info_marks = 8,
isc_info_implementation = 11,
isc_info_isc_version = 12,
isc_info_base_level = 13,
isc_info_page_size = 14,
isc_info_num_buffers = 15,
isc_info_limbo = 16,
isc_info_current_memory = 17,
isc_info_max_memory = 18,
isc_info_window_turns = 19,
isc_info_license = 20,
isc_info_allocation = 21,
isc_info_attachment_id = 22,
isc_info_read_seq_count = 23,
isc_info_read_idx_count = 24,
isc_info_insert_count = 25,
isc_info_update_count = 26,
isc_info_delete_count = 27,
isc_info_backout_count = 28,
isc_info_purge_count = 29,
isc_info_expunge_count = 30,
isc_info_sweep_interval = 31,
isc_info_ods_version = 32,
isc_info_ods_minor_version = 33,
isc_info_no_reserve = 34,
isc_info_logfile = 35,
isc_info_cur_logfile_name = 36,
isc_info_cur_log_part_offset = 37,
isc_info_num_wal_buffers = 38,
isc_info_wal_buffer_size = 39,
isc_info_wal_ckpt_length = 40,
isc_info_wal_cur_ckpt_interval = 41,
isc_info_wal_prv_ckpt_fname = 42,
isc_info_wal_prv_ckpt_poffset = 43,
isc_info_wal_recv_ckpt_fname = 44,
isc_info_wal_recv_ckpt_poffset = 45,
isc_info_wal_grpc_wait_usecs = 47,
isc_info_wal_num_io = 48,
isc_info_wal_avg_io_size = 49,
isc_info_wal_num_commits = 50,
isc_info_wal_avg_grpc_size = 51,
isc_info_forced_writes = 52,
isc_info_user_names = 53,
isc_info_page_errors = 54,
isc_info_record_errors = 55,
isc_info_bpage_errors = 56,
isc_info_dpage_errors = 57,
isc_info_ipage_errors = 58,
isc_info_ppage_errors = 59,
isc_info_tpage_errors = 60,
isc_info_set_page_buffers = 61,
isc_info_db_sql_dialect = 62,
isc_info_db_read_only = 63,
isc_info_db_size_in_pages = 64,
/* Values 65 -100 unused to avoid conflict with InterBase */
frb_info_att_charset = 101,
isc_info_db_class = 102,
isc_info_firebird_version = 103,
isc_info_oldest_transaction = 104,
isc_info_oldest_active = 105,
isc_info_oldest_snapshot = 106,
isc_info_next_transaction = 107,
isc_info_db_provider = 108,
isc_info_db_last_value /* Leave this LAST! */
};
#define isc_info_version isc_info_isc_version
/**************************************/
/* Database information return values */
/**************************************/
enum info_db_implementations
{
isc_info_db_impl_rdb_vms = 1,
isc_info_db_impl_rdb_eln = 2,
isc_info_db_impl_rdb_eln_dev = 3,
isc_info_db_impl_rdb_vms_y = 4,
isc_info_db_impl_rdb_eln_y = 5,
isc_info_db_impl_jri = 6,
isc_info_db_impl_jsv = 7,
isc_info_db_impl_isc_apl_68K = 25,
isc_info_db_impl_isc_vax_ultr = 26,
isc_info_db_impl_isc_vms = 27,
isc_info_db_impl_isc_sun_68k = 28,
isc_info_db_impl_isc_os2 = 29,
isc_info_db_impl_isc_sun4 = 30, /* 30 */
isc_info_db_impl_isc_hp_ux = 31,
isc_info_db_impl_isc_sun_386i = 32,
isc_info_db_impl_isc_vms_orcl = 33,
isc_info_db_impl_isc_mac_aux = 34,
isc_info_db_impl_isc_rt_aix = 35,
isc_info_db_impl_isc_mips_ult = 36,
isc_info_db_impl_isc_xenix = 37,
isc_info_db_impl_isc_dg = 38,
isc_info_db_impl_isc_hp_mpexl = 39,
isc_info_db_impl_isc_hp_ux68K = 40, /* 40 */
isc_info_db_impl_isc_sgi = 41,
isc_info_db_i
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -