The world's most popular open source database
#include <mysql_com.h>
Collaboration diagram for st_net:

Public Attributes | |
| Vio * | vio |
| unsigned char * | buff |
| unsigned char * | buff_end |
| unsigned char * | write_pos |
| unsigned char * | read_pos |
| my_socket | fd |
| unsigned long | max_packet |
| unsigned long | max_packet_size |
| unsigned int | pkt_nr |
| unsigned int | compress_pkt_nr |
| unsigned int | write_timeout |
| unsigned int | read_timeout |
| unsigned int | retry_count |
| int | fcntl |
| my_bool | compress |
| unsigned long | remain_in_buf |
| unsigned long | length |
| unsigned long | buf_length |
| unsigned long | where_b |
| unsigned int * | return_status |
| unsigned char | reading_or_writing |
| char | save_char |
| my_bool | no_send_ok |
| my_bool | no_send_eof |
| my_bool | no_send_error |
| char | last_error [MYSQL_ERRMSG_SIZE] |
| char | sqlstate [SQLSTATE_LENGTH+1] |
| unsigned int | last_errno |
| unsigned char | error |
| gptr | query_cache_query |
| my_bool | report_error |
| my_bool | return_errno |
Definition at line 182 of file mysql_com.h.
| unsigned long st_net::buf_length |
| unsigned char* st_net::buff |
Definition at line 185 of file mysql_com.h.
Referenced by cli_stmt_execute(), my_net_init(), my_net_read(), my_real_read(), my_realloc_str(), net_clear(), net_end(), net_flush(), net_printf_error(), net_realloc(), net_write_buff(), and store_param_null().
| unsigned char * st_net::buff_end |
Definition at line 185 of file mysql_com.h.
Referenced by my_net_init(), net_printf_error(), net_realloc(), and net_write_buff().
Definition at line 191 of file mysql_com.h.
Referenced by CLI_MYSQL_REAL_CONNECT(), com_status(), handle_one_connection(), my_net_init(), my_net_read(), my_real_read(), net_flush(), net_printf_error(), net_real_write(), and net_write_buff().
| unsigned int st_net::compress_pkt_nr |
Definition at line 188 of file mysql_com.h.
Referenced by my_net_init(), net_clear(), net_flush(), and net_real_write().
| unsigned char st_net::error |
Definition at line 215 of file mysql_com.h.
Referenced by dispatch_command(), do_command(), Mysql_connection_thread::do_command(), handle_one_connection(), my_net_init(), my_net_read(), my_real_read(), net_clear(), net_real_write(), net_realloc(), and Mysql_connection_thread::run().
| int st_net::fcntl |
Definition at line 190 of file mysql_com.h.
| unsigned int st_net::last_errno |
Definition at line 214 of file mysql_com.h.
Referenced by cli_advanced_command(), CLI_MYSQL_REAL_CONNECT(), cli_read_binary_rows(), cli_read_change_user_result(), cli_read_statistics(), cli_safe_read(), cli_stmt_execute(), do_command(), Mysql_connection_thread::do_command(), execute(), expand_error(), handle_local_infile(), handle_one_connection(), my_message_sql(), my_net_init(), my_net_read(), my_real_read(), mysql_errno(), mysql_init_character_set(), mysql_manager_connect(), mysql_next_result(), mysql_reconnect(), mysql_set_character_set(), mysql_stmt_close(), mysql_stmt_prepare(), mysql_stmt_send_long_data(), mysql_stmt_store_result(), net_clear_error(), net_printf_error(), net_real_write(), net_realloc(), net_send_error(), reset_stmt_handle(), set_mysql_error(), stmt_read_row_from_cursor(), stmt_read_row_unbuffered(), and store_param().
| char st_net::last_error[MYSQL_ERRMSG_SIZE] |
Definition at line 213 of file mysql_com.h.
Referenced by cli_advanced_command(), CLI_MYSQL_REAL_CONNECT(), cli_read_binary_rows(), cli_read_change_user_result(), cli_read_statistics(), cli_safe_read(), execute(), expand_error(), handle_local_infile(), my_message_sql(), my_net_init(), mysql_error(), mysql_init_character_set(), mysql_next_result(), mysql_reconnect(), mysql_set_character_set(), mysql_stat(), mysql_stmt_close(), mysql_stmt_prepare(), mysql_stmt_send_long_data(), mysql_stmt_store_result(), net_clear_error(), net_printf_error(), net_send_error(), reset_stmt_handle(), set_mysql_error(), stmt_read_row_from_cursor(), and stmt_read_row_unbuffered().
| unsigned long st_net::length |
Definition at line 197 of file mysql_com.h.
| unsigned long st_net::max_packet |
Definition at line 187 of file mysql_com.h.
Referenced by handle_local_infile(), my_net_init(), my_net_local_init(), my_realloc_str(), net_clear(), net_realloc(), and net_write_buff().
| unsigned long st_net::max_packet_size |
Definition at line 187 of file mysql_com.h.
Referenced by CLI_MYSQL_REAL_CONNECT(), my_net_local_init(), and net_realloc().
Definition at line 207 of file mysql_com.h.
Referenced by dispatch_command(), handle_one_connection(), my_net_init(), net_printf_error(), and net_send_error().
| unsigned int st_net::pkt_nr |
Definition at line 188 of file mysql_com.h.
Referenced by Mysql_connection_thread::do_command(), my_net_init(), my_net_write(), net_clear(), net_flush(), net_printf_error(), and net_write_command().
| unsigned char * st_net::read_pos |
Definition at line 185 of file mysql_com.h.
Referenced by check_connection(), Mysql_connection_thread::check_connection(), check_user(), cli_flush_use_result(), CLI_MYSQL_REAL_CONNECT(), cli_read_binary_rows(), cli_read_change_user_result(), cli_read_prepare_result(), cli_read_query_result(), cli_read_rows(), cli_read_statistics(), cli_safe_read(), cli_unbuffered_fetch(), dispatch_command(), do_command(), Mysql_connection_thread::do_command(), dump_remote_log_entries(), Load_log_processor::load_old_format_file(), my_net_init(), my_net_read(), mysql_list_processes(), mysql_manager_connect(), mysql_manager_fetch_line(), read_one_row(), and safe_net_read().
| unsigned int st_net::read_timeout |
Definition at line 189 of file mysql_com.h.
Referenced by check_connection(), CLI_MYSQL_REAL_CONNECT(), create_new_thread(), do_command(), my_net_local_init(), and my_real_read().
| unsigned char st_net::reading_or_writing |
Definition at line 199 of file mysql_com.h.
Referenced by my_net_init(), my_real_read(), and net_real_write().
| unsigned long st_net::remain_in_buf |
Definition at line 217 of file mysql_com.h.
Referenced by cli_advanced_command(), handle_one_connection(), my_message_sql(), my_net_init(), my_net_read(), my_real_read(), net_real_write(), and net_realloc().
| unsigned int st_net::retry_count |
Definition at line 189 of file mysql_com.h.
Referenced by my_net_local_init(), my_real_read(), and net_real_write().
Definition at line 218 of file mysql_com.h.
Referenced by create_new_thread(), my_net_init(), net_printf_error(), and net_send_error_packet().
| unsigned int* st_net::return_status |
Definition at line 198 of file mysql_com.h.
Referenced by check_connection(), Mysql_connection_thread::init(), my_net_init(), net_send_ok(), and send_ok().
| char st_net::save_char |
| char st_net::sqlstate[SQLSTATE_LENGTH+1] |
Definition at line 213 of file mysql_com.h.
Referenced by cli_advanced_command(), CLI_MYSQL_REAL_CONNECT(), cli_read_binary_rows(), cli_read_change_user_result(), cli_read_statistics(), cli_safe_read(), execute(), handle_local_infile(), mysql_init_character_set(), mysql_next_result(), mysql_reconnect(), mysql_set_character_set(), mysql_sqlstate(), mysql_stmt_close(), mysql_stmt_prepare(), mysql_stmt_send_long_data(), mysql_stmt_store_result(), net_clear_error(), net_printf_error(), reset_stmt_handle(), set_mysql_error(), stmt_read_row_from_cursor(), and stmt_read_row_unbuffered().
Definition at line 184 of file mysql_com.h.
Referenced by check_connection(), cli_advanced_command(), CLI_MYSQL_REAL_CONNECT(), cli_safe_read(), close_connection(), do_command(), end_server(), get_slaves_from_master(), handle_one_connection(), my_net_init(), my_net_write(), my_real_read(), mysql_close(), mysql_get_ssl_cipher(), mysql_master_send_query(), mysql_slave_send_query(), net_clear(), net_printf_error(), net_real_write(), net_send_error_packet(), Mysql_connection_thread::run(), send_eof(), and send_ok().
| unsigned long st_net::where_b |
Definition at line 197 of file mysql_com.h.
Referenced by my_net_init(), my_net_read(), and my_real_read().
| unsigned char * st_net::write_pos |
Definition at line 185 of file mysql_com.h.
Referenced by cli_stmt_execute(), my_net_init(), my_realloc_str(), net_clear(), net_flush(), net_realloc(), net_store_datetime(), net_write_buff(), store_param_double(), store_param_float(), store_param_int32(), store_param_int64(), store_param_short(), store_param_str(), store_param_time(), and store_param_tinyint().
| unsigned int st_net::write_timeout |
Definition at line 189 of file mysql_com.h.
Referenced by CLI_MYSQL_REAL_CONNECT(), my_net_local_init(), and net_real_write().
1.4.7

