The world's most popular open source database
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
| #define CR_CANT_READ_CHARSET 2019 |
Definition at line 59 of file errmsg.h.
Referenced by mysql_init_character_set(), and mysql_set_character_set().
| #define CR_COMMANDS_OUT_OF_SYNC 2014 |
Definition at line 54 of file errmsg.h.
Referenced by cli_advanced_command(), cli_stmt_execute(), cli_use_result(), mysql_fetch_row(), mysql_next_result(), mysql_stmt_store_result(), mysql_store_result(), stmt_read_row_unbuffered(), test_bug15752(), and test_bug8330().
| #define CR_CONN_HOST_ERROR 2003 |
Definition at line 43 of file errmsg.h.
Referenced by CLI_MYSQL_REAL_CONNECT(), sql_connect(), and sql_real_connect().
| #define CR_CONN_UNKNOW_PROTOCOL 2047 |
| #define CR_CONNECTION_ERROR 2002 |
Definition at line 42 of file errmsg.h.
Referenced by CLI_MYSQL_REAL_CONNECT(), sql_connect(), and sql_real_connect().
| #define CR_ERROR_FIRST 2000 |
| #define CR_ERROR_LAST /*Copy last error nr:*/ 2054 |
| #define CR_FETCH_CANCELED 2050 |
Definition at line 93 of file errmsg.h.
Referenced by mysql_fetch_row(), and stmt_read_row_unbuffered().
| #define CR_INVALID_BUFFER_USE 2035 |
| #define CR_INVALID_PARAMETER_NO 2034 |
Definition at line 76 of file errmsg.h.
Referenced by mysql_stmt_fetch_column(), and mysql_stmt_send_long_data().
| #define CR_IPSOCK_ERROR 2004 |
| #define CR_LOCALHOST_CONNECTION 2010 |
| #define CR_MALFORMED_PACKET 2027 |
| #define CR_NAMEDPIPE_CONNECTION 2015 |
| #define CR_NET_PACKET_TOO_LARGE 2020 |
| #define CR_NO_DATA 2051 |
| #define CR_NO_PREPARE_STMT 2030 |
Definition at line 72 of file errmsg.h.
Referenced by mysql_stmt_bind_param(), and mysql_stmt_bind_result().
| #define CR_NO_RESULT_SET 2053 |
| #define CR_NO_STMT_METADATA 2052 |
| #define CR_NOT_IMPLEMENTED 2054 |
| #define CR_OUT_OF_MEMORY 2008 |
Definition at line 48 of file errmsg.h.
Referenced by CLI_MYSQL_REAL_CONNECT(), cli_read_binary_rows(), cli_read_rows(), cli_stmt_execute(), default_local_infile_error(), handle_local_infile(), mysql_stmt_init(), mysql_stmt_prepare(), mysql_stmt_result_metadata(), and mysql_store_result().
| #define CR_PARAMS_NOT_BOUND 2031 |
| #define CR_PROBE_MASTER_CONNECT 2025 |
| #define CR_PROBE_SLAVE_HOSTS 2023 |
| #define CR_PROBE_SLAVE_STATUS 2022 |
| #define CR_SECURE_AUTH 2049 |
| #define CR_SERVER_GONE_ERROR 2006 |
Definition at line 46 of file errmsg.h.
Referenced by cli_advanced_command(), com_use(), execute_commands(), handle_error(), mysql_real_query_for_lazy(), and mysql_reconnect().
| #define CR_SERVER_LOST 2013 |
Definition at line 53 of file errmsg.h.
Referenced by CLI_MYSQL_REAL_CONNECT(), cli_read_change_user_result(), cli_safe_read(), handle_error(), handle_local_infile(), mysql_ping(), mysql_stmt_execute(), mysql_stmt_prepare(), mysql_stmt_reset(), and stmt_read_row_unbuffered().
| #define CR_SHARED_MEMORY_CONNECTION 2037 |
| #define CR_SOCKET_CREATE_ERROR 2001 |
| #define CR_SSL_CONNECTION_ERROR 2026 |
| #define CR_TCP_CONNECTION 2011 |
| #define CR_UNKNOWN_ERROR 2000 |
| #define CR_UNKNOWN_HOST 2005 |
| #define CR_UNSUPPORTED_PARAM_TYPE 2036 |
Definition at line 78 of file errmsg.h.
Referenced by mysql_stmt_bind_param(), and mysql_stmt_bind_result().
| #define CR_VERSION_ERROR 2007 |
| #define CR_WRONG_HOST_INFO 2009 |
| #define ER | ( | X | ) | client_errors[(X)-CR_MIN_ERROR] |
Definition at line 33 of file errmsg.h.
Referenced by change_password(), check_access(), check_change_password(), check_column_grant_in_table_ref(), check_duplicates_in_interval(), check_engine(), Field::check_int(), Table_triggers_list::check_n_load(), check_prepared_statement(), check_stack_overrun(), Item_sum::check_sum_func(), check_that_all_fields_are_given_values(), check_user(), Item_str_func::check_well_formed_result(), clean_up(), Item_func_group_concat::cleanup(), cli_advanced_command(), CLI_MYSQL_REAL_CONNECT(), cli_read_change_user_result(), cli_read_statistics(), sp_cursor::close(), MYSQL_BIN_LOG::close(), MYSQL_LOG::close(), close_connection(), close_connections(), copy_data_between_tables(), Table_triggers_list::create_trigger(), date_add_interval(), db_create_event(), db_create_routine(), db_drop_event(), decimal_operation_results(), default_local_infile_error(), delayed_get_table(), dispatch_command(), Table_triggers_list::drop_trigger(), error_if_full_join(), sp_instr_error::execute(), expand_error(), extract_date_time(), Sensitive_cursor::fetch(), sp_cursor::fetch(), filesort(), fill_record(), find_order_in_list(), Item_func_match::fix_index(), fix_query_cache_size(), MYSQL_LOG::generate_new_name(), Field_time::get_date(), get_topics_for_keyword(), ha_init_errors(), ha_prepare(), ha_recover(), ha_rollback_trans(), handle_delayed_insert(), delayed_insert::handle_inserts(), handle_local_infile(), handle_one_connection(), handle_select(), create_field::init(), init_common_variables(), init_myfunc_errs(), init_param_array(), Item_sum::init_sum_func_check(), insert_fields(), insert_precheck(), kill_server(), load_db_opt(), main(), make_empty_rec(), make_truncated_value_warning(), mark_as_dependent(), multi_delete_precheck(), multi_update_precheck(), mysql_admin_table(), mysql_alter_table(), mysql_alter_tablespace(), mysql_change_db(), mysql_create_db(), mysql_create_frm(), mysql_create_like_table(), mysql_create_table_internal(), mysql_create_view(), mysql_delete(), mysql_drop_view(), mysql_execute_command(), mysql_grant(), mysql_ha_read(), mysql_init_character_set(), mysql_insert(), mysql_load(), mysql_make_view(), mysql_next_result(), mysql_register_view(), mysql_rename_tables(), mysql_rm_db(), mysql_rm_table_part2(), mysql_routine_grant(), mysql_set_character_set(), mysql_show_grants(), mysql_stmt_bind_param(), mysql_stmt_bind_result(), mysql_stmt_get_longdata(), mysql_stmt_send_long_data(), mysql_table_grant(), mysqld_show_create(), mysqld_show_create_db(), MYSQLerror(), net_printf_error(), net_send_error(), network_init(), sp_cursor::open(), JOIN::optimize(), pack_header(), Item_xml_str_func::parse_xml(), plugin_add(), plugin_dl_add(), plugin_load(), JOIN::prepare(), prepare_blob_field(), prepare_create_field(), prepare_schema_table(), st_table_list::prepare_view_securety_context(), handler::print_error(), Handle_old_incorrect_trigger_table_hook::process_unknown_string(), Handle_old_incorrect_sql_modes_hook::process_unknown_string(), read_fixed_length(), read_sep_field(), remove_dup_with_compare(), ha_myisam::repair(), replace_db_table(), replace_table_table(), resolve_ref_in_select_and_group(), Item_default_value::save_in_field(), Item_singlerow_subselect::select_transformer(), Protocol::send_fields(), set_log_update(), set_mysql_error(), Item::set_name(), set_stmt_error(), Field::set_warning(), Item_func::signal_divide_by_null(), Item_in_subselect::single_value_transformer(), Item_func_sp::sp_result_field(), sql_alloc_error_handler(), Field_new_decimal::store(), table_check_intact(), Item_func_sp::tmp_table_field(), set_var_user::update(), sys_var_key_buffer_size::update(), update_precheck(), update_user_table(), Item_decimal_typecast::val_decimal(), Item::val_decimal_from_string(), Item_string::val_int(), Field_double::val_int(), Item_func_signed::val_int_from_str(), Item_string::val_real(), Item_char_typecast::val_str(), Item_func_group_concat::val_str(), Item_load_file::val_str(), Item_func_lpad::val_str(), Item_func_rpad::val_str(), Item_func_repeat::val_str(), Item_func_insert::val_str(), Item_func_replace::val_str(), Item_func_concat_ws::val_str(), Item_func_des_decrypt::val_str(), Item_func_des_encrypt::val_str(), Item_func_concat::val_str(), st_table_list::view_check_option(), wait_if_global_read_lock(), MYSQL_BIN_LOG::write(), and MYSQL_QUERY_LOG::write().
| void finish_client_errs | ( | void | ) |
Definition at line 240 of file errmsg.c.
References CR_ERROR_FIRST, CR_ERROR_LAST, and my_error_unregister().
Referenced by clean_up(), and mysql_server_end().
00241 { 00242 (void) my_error_unregister(CR_ERROR_FIRST, CR_ERROR_LAST); 00243 }
Here is the call graph for this function:

Here is the caller graph for this function:

| void init_client_errs | ( | void | ) |
Definition at line 224 of file errmsg.c.
References client_errors, CR_ERROR_FIRST, CR_ERROR_LAST, and my_error_register().
Referenced by init_common_variables(), and mysql_server_init().
00225 { 00226 (void) my_error_register(client_errors, CR_ERROR_FIRST, CR_ERROR_LAST); 00227 }
Here is the call graph for this function:

Here is the caller graph for this function:

| const char* client_errors[] |
1.4.7

