MySQL 5.7 C API Developer Guide
5.4.30 mysql_get_option() ........................................................................................... 56
5.4.31 mysql_get_proto_info() ...................................................................................... 57
5.4.32 mysql_get_server_info() .................................................................................... 57
5.4.33 mysql_get_server_version() ............................................................................... 57
5.4.34 mysql_get_ssl_cipher() ..................................................................................... 58
5.4.35 mysql_hex_string() ............................................................................................ 58
5.4.36 mysql_info() ...................................................................................................... 59
5.4.37 mysql_init() ....................................................................................................... 60
5.4.38 mysql_insert_id() .............................................................................................. 60
5.4.39 mysql_kill() ....................................................................................................... 62
5.4.40 mysql_library_end() .......................................................................................... 62
5.4.41 mysql_library_init() ............................................................................................ 63
5.4.42 mysql_list_dbs() ................................................................................................ 64
5.4.43 mysql_list_fields() ............................................................................................. 65
5.4.44 mysql_list_processes() ...................................................................................... 66
5.4.45 mysql_list_tables() ............................................................................................ 67
5.4.46 mysql_more_results() ........................................................................................ 67
5.4.47 mysql_next_result() ........................................................................................... 68
5.4.48 mysql_num_fields() ........................................................................................... 69
5.4.49 mysql_num_rows() ............................................................................................ 70
5.4.50 mysql_options() ................................................................................................ 70
5.4.51 mysql_options4() .............................................................................................. 77
5.4.52 mysql_ping() ..................................................................................................... 78
5.4.53 mysql_query() ................................................................................................... 79
5.4.54 mysql_real_connect() ........................................................................................ 79
5.4.55 mysql_real_escape_string() ............................................................................... 83
5.4.56 mysql_real_escape_string_quote() ..................................................................... 84
5.4.57 mysql_real_query() ........................................................................................... 86
5.4.58 mysql_refresh() ................................................................................................. 86
5.4.59 mysql_reload() .................................................................................................. 88
5.4.60 mysql_reset_connection() .................................................................................. 88
5.4.61 mysql_rollback() ............................................................................................... 89
5.4.62 mysql_row_seek() ............................................................................................. 89
5.4.63 mysql_row_tell() ............................................................................................... 90
5.4.64 mysql_select_db() ............................................................................................. 90
5.4.65 mysql_server_end() .......................................................................................... 90
5.4.66 mysql_server_init() ............................................................................................ 91
5.4.67 mysql_session_track_get_first() ......................................................................... 91
5.4.68 mysql_session_track_get_next() ........................................................................ 97
5.4.69 mysql_set_character_set() ................................................................................ 97
5.4.70 mysql_set_local_infile_default() ......................................................................... 98
5.4.71 mysql_set_local_infile_handler() ........................................................................ 98
5.4.72 mysql_set_server_option() ................................................................................ 99
5.4.73 mysql_shutdown() ........................................................................................... 100
5.4.74 mysql_sqlstate() .............................................................................................. 101
5.4.75 mysql_ssl_set() ............................................................................................... 102
5.4.76 mysql_stat() .................................................................................................... 103
5.4.77 mysql_store_result() ........................................................................................ 103
5.4.78 mysql_thread_id() ........................................................................................... 104
5.4.79 mysql_use_result() .......................................................................................... 105
5.4.80 mysql_warning_count() ................................................................................... 106
6 C API Prepared Statement Interface ....................................................................................... 107
6.1 Overview of the C API Prepared Statement Interface .................................................... 108
6.2 C API Prepared Statement Data Structures .................................................................. 109
6.2.1 C API Prepared Statement Type Codes ............................................................ 113
6.2.2 C API Prepared Statement Type Conversions .................................................... 115
6.3 C API Prepared Statement Function Reference ............................................................ 116
6.4 C API Prepared Statement Function Descriptions ......................................................... 117
iv