Online Database error codes
[Midas Error definition]


Defines

#define DB_SUCCESS   1
#define DB_CREATED   302
#define DB_NO_MEMORY   303
#define DB_INVALID_NAME   304
#define DB_INVALID_HANDLE   305
#define DB_NO_SLOT   306
#define DB_NO_SEMAPHORE   307
#define DB_MEMSIZE_MISMATCH   308
#define DB_INVALID_PARAM   309
#define DB_FULL   310
#define DB_KEY_EXIST   311
#define DB_NO_KEY   312
#define DB_KEY_CREATED   313
#define DB_TRUNCATED   314
#define DB_TYPE_MISMATCH   315
#define DB_NO_MORE_SUBKEYS   316
#define DB_FILE_ERROR   317
#define DB_NO_ACCESS   318
#define DB_STRUCT_SIZE_MISMATCH   319
#define DB_OPEN_RECORD   320
#define DB_OUT_OF_RANGE   321
#define DB_INVALID_LINK   322
#define DB_CORRUPTED   323
#define DB_STRUCT_MISMATCH   324
#define DB_TIMEOUT   325
#define DB_VERSION_MISMATCH   326


Define Documentation

#define DB_CORRUPTED   323

Definition at line 589 of file midas.h.

Referenced by db_create_key(), and db_find_key().

#define DB_CREATED   302

Definition at line 568 of file midas.h.

Referenced by cm_connect_experiment1(), and db_open_database().

#define DB_FILE_ERROR   317

Definition at line 583 of file midas.h.

Referenced by db_load(), db_save(), db_save_struct(), and db_save_xml().

#define DB_FULL   310

Definition at line 576 of file midas.h.

Referenced by db_create_key(), db_set_data(), db_set_data_index(), db_set_link_data(), db_set_link_data_index(), and db_set_value().

#define DB_INVALID_HANDLE   305

Definition at line 571 of file midas.h.

Referenced by cm_get_watchdog_info(), db_close_database(), db_close_record(), db_create_key(), db_delete_key1(), db_enum_key(), db_find_key(), db_get_data(), db_get_data_index(), db_get_key(), db_get_key_info(), db_get_key_time(), db_get_link(), db_get_link_data(), db_get_lock_cnt(), db_get_value(), db_lock_database(), db_protect_database(), db_save_struct(), db_set_data(), db_set_data_index(), db_set_link_data(), db_set_link_data_index(), db_unlock_database(), db_update_record(), main(), rb_delete(), rb_get_buffer_level(), rb_get_rp(), rb_get_wp(), rb_increment_rp(), and rb_increment_wp().

#define DB_INVALID_LINK   322

Definition at line 588 of file midas.h.

Referenced by command_loop(), db_find_key(), db_get_data(), db_get_key(), db_set_data(), db_set_data_index(), and print_key().

#define DB_INVALID_NAME   304

Definition at line 570 of file midas.h.

Referenced by db_open_database().

#define DB_INVALID_PARAM   309

Definition at line 575 of file midas.h.

Referenced by db_create_key(), db_get_value(), db_open_database(), db_set_data(), db_set_link_data(), db_set_value(), rb_create(), rb_increment_rp(), and rb_increment_wp().

#define DB_KEY_CREATED   313

Definition at line 579 of file midas.h.

#define DB_KEY_EXIST   311

Definition at line 577 of file midas.h.

Referenced by db_paste_node(), and SqlHistory::hs_define_event().

#define DB_MEMSIZE_MISMATCH   308

Definition at line 574 of file midas.h.

#define DB_NO_ACCESS   318

Definition at line 584 of file midas.h.

Referenced by command_loop(), db_create_key(), db_delete_key1(), db_find_key(), db_get_data(), db_get_data_index(), db_get_link_data(), db_get_value(), db_open_record(), db_paste_node(), db_set_data(), db_set_data_index(), db_set_link_data(), db_set_link_data_index(), db_set_value(), lazy_main(), print_key(), scan_tree(), search_callback(), search_key(), and show_set_page().

#define DB_NO_KEY   312

Definition at line 578 of file midas.h.

Referenced by add_event(), cm_exist(), cm_shutdown(), command_loop(), db_check_record(), db_create_key(), db_create_link(), db_create_record(), db_find_key(), db_get_value(), db_paste(), db_paste_node(), db_set_value(), open_history(), print_key(), ReadIndex(), and register_equipment().

#define DB_NO_MEMORY   303

Definition at line 569 of file midas.h.

Referenced by db_copy(), db_copy_xml(), db_load(), db_open_database(), db_open_record(), db_paste(), db_save_xml_key(), and rb_create().

#define DB_NO_MORE_SUBKEYS   316

Definition at line 582 of file midas.h.

Referenced by add_event(), al_check(), ascii_write(), book_ntuples(), close_history(), cm_connect_client(), cm_exist(), cm_set_client_info(), cm_shutdown(), cm_transition1(), command_loop(), create_experim_h(), db_enum_key(), db_get_event_definition(), do_jrpc_rev0(), dump_write(), SqlDebug::Fetch(), MidasHistory::GetEventsFromEquipment(), MidasHistory::GetTagsFromEquipment(), log_callback(), log_system_history(), logger_init(), logger_root(), odb_load(), open_history(), show_cnaf_page(), show_status_page(), tr_start(), update_odb(), write_event_ascii(), write_event_hbook(), and write_event_odb().

#define DB_NO_SEMAPHORE   307

Definition at line 573 of file midas.h.

Referenced by db_lock_database(), and db_open_database().

#define DB_NO_SLOT   306

Definition at line 572 of file midas.h.

Referenced by db_open_database().

#define DB_OPEN_RECORD   320

Definition at line 586 of file midas.h.

Referenced by command_loop(), db_create_record(), db_delete_key1(), logger_init(), and tr_start().

#define DB_OUT_OF_RANGE   321

Definition at line 587 of file midas.h.

Referenced by db_get_data_index(), and xdb_get_data_index().

#define DB_STRUCT_MISMATCH   324

Definition at line 590 of file midas.h.

Referenced by cm_connect_experiment1(), db_check_record(), register_equipment(), and show_status_page().

#define DB_STRUCT_SIZE_MISMATCH   319

Definition at line 585 of file midas.h.

Referenced by db_get_record(), db_open_record(), and db_set_record().

#define DB_SUCCESS   1

Definition at line 567 of file midas.h.

Referenced by add_event(), al_check(), al_reset_alarm(), al_trigger_alarm(), analyzer_init(), build_done_list(), build_done_list_odb(), close_history(), cm_connect_client(), cm_connect_experiment1(), cm_delete_client_info(), cm_deregister_transition(), cm_exist(), cm_get_client_info(), cm_msg_log(), cm_msg_log1(), cm_msg_retrieve(), cm_register_deferred_transition(), cm_register_transition(), cm_set_client_info(), cm_set_transition_sequence(), cm_shutdown(), cm_transition1(), cmd_dir(), command_loop(), condition_test(), SqlDebug::Connect(), convert_done_list(), create_experim_h(), db_check_record(), db_close_all_records(), db_close_database(), db_close_record(), db_copy(), db_copy_xml(), db_create_link(), db_create_record(), db_delete_key1(), db_enum_key(), db_find_key(), db_get_data(), db_get_data_index(), db_get_event_definition(), db_get_key(), db_get_key_info(), db_get_key_time(), db_get_link(), db_get_link_data(), db_get_record(), db_get_record_size(), db_get_value(), db_load(), db_lock_database(), db_open_database(), db_open_record(), db_paste(), db_paste_node(), db_protect_database(), db_save(), db_save_struct(), db_save_xml(), db_save_xml_key(), db_send_changed_records(), db_set_data(), db_set_data_index(), db_set_link_data(), db_set_link_data_index(), db_set_record(), db_set_value(), db_sprintf(), db_sprintff(), db_unlock_database(), db_update_record(), SqlDebug::Disconnect(), do_jrpc_rev0(), SqlDebug::Done(), el_submit(), SqlDebug::Exec(), export_hist(), frontend_init(), generate_hist_graph(), get_elog_url(), get_event_id(), get_variable_id(), get_variable_id_tags(), MidasHistory::GetEventsFromEquipment(), MidasHistory::GetEventsFromOdbEvents(), MidasHistory::GetEventsFromOdbTags(), SqlDebug::GetNumColumns(), SqlDebug::GetNumRows(), MidasHistory::GetTagsFromEquipment(), MidasHistory::GetTagsFromOdb(), SqlHistory::hs_connect(), MidasHistory::hs_connect(), SqlHistory::hs_define_event(), SqlHistory::hs_get_events(), SqlHistory::hs_get_tags(), SqlHistory::hs_read(), SqlHistory::hs_write_event(), init_module_parameters(), interprete(), interrupt_routine(), lazy_main(), lazy_maintain_free_space(), SqlDebug::ListColumns(), SqlDebug::ListTables(), load_fragment(), load_parameters(), log_callback(), logger_init(), logger_root(), main(), mana_init(), open_history(), print_key(), rb_create(), rb_delete(), rb_get_buffer_level(), rb_get_rp(), rb_get_wp(), rb_increment_rp(), rb_increment_wp(), rb_set_nonblocking(), read_state(), ReadIndex(), readout_thread(), register_equipment(), register_requests(), save_done_list(), set_equipment_status(), set_history_path(), show_cnaf_page(), show_create_page(), show_custom_gif(), show_custom_page(), show_delete_page(), show_elog_new(), show_elog_page(), show_elog_query(), show_hist_page(), show_odb_page(), show_programs_page(), show_set_page(), show_start_page(), show_status_page(), start_the_run(), submit_elog(), tr_start(), update_odb(), write_event_odb(), xdb_find_key(), xdb_get_data_index(), and SqlHistory::XReadIndex().

#define DB_TIMEOUT   325

Definition at line 591 of file midas.h.

Referenced by db_lock_database(), rb_get_rp(), rb_get_wp(), readout_thread(), and receive_trigger_event().

#define DB_TRUNCATED   314

Definition at line 580 of file midas.h.

Referenced by db_check_record(), db_copy(), db_copy_xml(), db_create_record(), db_get_data(), db_get_data_index(), db_get_link_data(), db_get_value(), db_paste(), db_save(), log_odb_dump(), and set_history_path().

#define DB_TYPE_MISMATCH   315

Definition at line 581 of file midas.h.

Referenced by db_get_data(), db_get_data_index(), db_get_link_data(), db_get_value(), db_paste_node(), db_paste_xml(), db_set_data(), db_set_data_index(), db_set_link_data(), db_set_link_data_index(), db_set_value(), main(), and print_key().

#define DB_VERSION_MISMATCH   326

Definition at line 592 of file midas.h.

Referenced by db_open_database().


Midas DOC Version 3.0.0 ---- PSI Stefan Ritt ----
Contributions: Pierre-Andre Amaudruz - Sergio Ballestrero - Suzannah Daviel - Doxygen - Peter Green - Qing Gu - Greg Hackman - Gertjan Hofman - Paul Knowles - Exaos Lee - Rudi Meier - Glenn Moloney - Dave Morris - John M O'Donnell - Konstantin Olchanski - Renee Poutissou - Tamsen Schurman - Andreas Suter - Jan M.Wouters - Piotr Adam Zolnierczuk