|
static void | append_wild (char *to, char *end, const char *wild) |
|
int STDCALL | mysql_server_init (int argc, char **argv, char **groups) |
|
void STDCALL | mysql_server_end () |
|
bool STDCALL | mysql_thread_init () |
|
void STDCALL | mysql_thread_end () |
|
void STDCALL | mysql_debug (const char *debug) |
|
bool STDCALL | mysql_change_user (MYSQL *mysql, const char *user, const char *passwd, const char *db) |
|
void | read_user_name (char *name) |
|
static bool | is_valid_local_infile_name (st_mysql_options *options, const char *net_filename) |
| Checks if the file name supplied by the server is a valid name. More...
|
|
bool | handle_local_infile (MYSQL *mysql, const char *net_filename) |
|
static int | default_local_infile_init (void **ptr, const char *filename, void *userdata) |
|
static int | default_local_infile_read (void *ptr, char *buf, uint buf_len) |
|
static void | default_local_infile_end (void *ptr) |
|
static int | default_local_infile_error (void *ptr, char *error_msg, uint error_msg_len) |
|
void | mysql_set_local_infile_handler (MYSQL *mysql, int(*local_infile_init)(void **, const char *, void *), int(*local_infile_read)(void *, char *, uint), void(*local_infile_end)(void *), int(*local_infile_error)(void *, char *, uint), void *userdata) |
|
void | mysql_set_local_infile_default (MYSQL *mysql) |
|
int STDCALL | mysql_query (MYSQL *mysql, const char *query) |
|
void STDCALL | mysql_data_seek (MYSQL_RES *result, uint64_t row) |
|
MYSQL_ROW_OFFSET STDCALL | mysql_row_seek (MYSQL_RES *result, MYSQL_ROW_OFFSET row) |
|
MYSQL_FIELD_OFFSET STDCALL | mysql_field_seek (MYSQL_RES *result, MYSQL_FIELD_OFFSET field_offset) |
|
MYSQL_RES *STDCALL | mysql_list_dbs (MYSQL *mysql, const char *wild) |
|
MYSQL_RES *STDCALL | mysql_list_tables (MYSQL *mysql, const char *wild) |
|
MYSQL_FIELD * | cli_list_fields (MYSQL *mysql) |
|
MYSQL_RES *STDCALL | mysql_list_fields (MYSQL *mysql, const char *table, const char *wild) |
|
MYSQL_RES *STDCALL | mysql_list_processes (MYSQL *mysql) |
|
int STDCALL | mysql_shutdown (MYSQL *mysql, enum mysql_enum_shutdown_level shutdown_level) |
|
int STDCALL | mysql_refresh (MYSQL *mysql, uint options) |
|
int STDCALL | mysql_kill (MYSQL *mysql, ulong pid) |
|
int STDCALL | mysql_set_server_option (MYSQL *mysql, enum enum_mysql_set_option option) |
|
int STDCALL | mysql_dump_debug_info (MYSQL *mysql) |
|
const char * | cli_read_statistics (MYSQL *mysql) |
|
const char *STDCALL | mysql_stat (MYSQL *mysql) |
|
int STDCALL | mysql_ping (MYSQL *mysql) |
|
const char *STDCALL | mysql_get_server_info (MYSQL *mysql) |
|
const char *STDCALL | mysql_get_host_info (MYSQL *mysql) |
|
uint STDCALL | mysql_get_proto_info (MYSQL *mysql) |
|
const char *STDCALL | mysql_get_client_info (void) |
|
ulong STDCALL | mysql_get_client_version (void) |
|
bool STDCALL | mysql_eof (MYSQL_RES *res) |
|
MYSQL_FIELD *STDCALL | mysql_fetch_field_direct (MYSQL_RES *res, uint fieldnr) |
|
MYSQL_ROW_OFFSET STDCALL | mysql_row_tell (MYSQL_RES *res) |
|
MYSQL_FIELD_OFFSET STDCALL | mysql_field_tell (MYSQL_RES *res) |
|
uint64_t STDCALL | mysql_insert_id (MYSQL *mysql) |
|
uint STDCALL | mysql_warning_count (MYSQL *mysql) |
|
ulong STDCALL | mysql_thread_id (MYSQL *mysql) |
|
const char *STDCALL | mysql_character_set_name (MYSQL *mysql) |
|
void STDCALL | mysql_get_character_set_info (MYSQL *mysql, MY_CHARSET_INFO *csinfo) |
|
uint STDCALL | mysql_thread_safe (void) |
|
void | my_net_local_init (NET *net) |
|
ulong STDCALL | mysql_hex_string (char *to, const char *from, ulong length) |
|
ulong STDCALL | mysql_escape_string (char *to, const char *from, ulong length) |
|
ulong STDCALL | mysql_real_escape_string (MYSQL *mysql, char *to, const char *from, ulong length) |
| Escapes special characters in a string for use in an SQL statement. More...
|
|
ulong STDCALL | mysql_real_escape_string_quote (MYSQL *mysql, char *to, const char *from, ulong length, char quote) |
| Escapes special characters in a string for use in an SQL statement. More...
|
|
void STDCALL | myodbc_remove_escape (MYSQL *mysql, char *name) |
|
static int | stmt_read_row_unbuffered (MYSQL_STMT *stmt, unsigned char **row) |
|
static int | stmt_read_row_buffered (MYSQL_STMT *stmt, unsigned char **row) |
|
static int | stmt_read_row_from_cursor (MYSQL_STMT *stmt, unsigned char **row) |
|
static int | stmt_read_row_no_data (MYSQL_STMT *stmt, unsigned char **row) |
|
static int | stmt_read_row_no_result_set (MYSQL_STMT *stmt, unsigned char **row) |
|
static void | stmt_update_metadata (MYSQL_STMT *stmt, MYSQL_ROWS *data) |
|
static bool | setup_one_fetch_function (MYSQL_BIND *, MYSQL_FIELD *field) |
|
static bool | reset_stmt_handle (MYSQL_STMT *stmt, uint flags) |
|
static void | stmt_clear_error (MYSQL_STMT *stmt) |
|
void | set_stmt_error (MYSQL_STMT *stmt, int errcode, const char *sqlstate) |
| Set statement error code, sqlstate, and error message from given errcode and sqlstate. More...
|
|
void | set_stmt_extended_error (MYSQL_STMT *stmt, int errcode, const char *sqlstate, const char *format,...) |
| Set statement error code, sqlstate, and error message from given errcode and sqlstate. More...
|
|
void | set_stmt_errmsg (MYSQL_STMT *stmt, NET *net) |
| Set statement error code, sqlstate, and error message from NET. More...
|
|
bool | cli_read_prepare_result (MYSQL *mysql, MYSQL_STMT *stmt) |
|
MYSQL_STMT *STDCALL | mysql_stmt_init (MYSQL *mysql) |
|
int STDCALL | mysql_stmt_prepare (MYSQL_STMT *stmt, const char *query, ulong length) |
|
static void | alloc_stmt_fields (MYSQL_STMT *stmt) |
|
static void | update_stmt_fields (MYSQL_STMT *stmt) |
| Update result set columns metadata if it was sent again in reply to COM_STMT_EXECUTE. More...
|
|
MYSQL_RES *STDCALL | mysql_stmt_result_metadata (MYSQL_STMT *stmt) |
|
MYSQL_RES *STDCALL | mysql_stmt_param_metadata (MYSQL_STMT *stmt) |
|
static int | add_binary_row (NET *net, MYSQL_STMT *stmt, ulong pkt_len, MYSQL_ROWS ***prev_ptr) |
|
static bool | execute (MYSQL_STMT *stmt, char *packet, ulong length, bool send_param_count) |
| Auxiliary function to send COM_STMT_EXECUTE packet to server and read reply. More...
|
|
int | cli_stmt_execute (MYSQL_STMT *stmt) |
|
bool STDCALL | mysql_stmt_attr_set (MYSQL_STMT *stmt, enum enum_stmt_attr_type attr_type, const void *value) |
|
bool STDCALL | mysql_stmt_attr_get (MYSQL_STMT *stmt, enum enum_stmt_attr_type attr_type, void *value) |
|
static void | reinit_result_set_metadata (MYSQL_STMT *stmt) |
| Update statement result set metadata from with the new field information sent during statement execute. More...
|
|
static void | prepare_to_fetch_result (MYSQL_STMT *stmt) |
|
int STDCALL | mysql_stmt_execute (MYSQL_STMT *stmt) |
|
ulong STDCALL | mysql_stmt_param_count (MYSQL_STMT *stmt) |
|
uint64_t STDCALL | mysql_stmt_affected_rows (MYSQL_STMT *stmt) |
|
unsigned int STDCALL | mysql_stmt_field_count (MYSQL_STMT *stmt) |
|
uint64_t STDCALL | mysql_stmt_insert_id (MYSQL_STMT *stmt) |
|
bool STDCALL | mysql_stmt_bind_param (MYSQL_STMT *stmt, MYSQL_BIND *my_bind) |
|
bool STDCALL | mysql_bind_param (MYSQL *mysql, unsigned n_params, MYSQL_BIND *binds, const char **names) |
|
bool STDCALL | mysql_stmt_send_long_data (MYSQL_STMT *stmt, uint param_number, const char *data, ulong length) |
|
static void | read_binary_time (MYSQL_TIME *tm, uchar **pos) |
|
static void | read_binary_datetime (MYSQL_TIME *tm, uchar **pos) |
|
static void | read_binary_date (MYSQL_TIME *tm, uchar **pos) |
|
static void | fetch_string_with_conversion (MYSQL_BIND *param, char *value, size_t length) |
|
template<class Int , class Float > |
static Float | convert_with_inexact_check (Int i, bool *is_inexact) |
|
static void | fetch_long_with_conversion (MYSQL_BIND *param, MYSQL_FIELD *field, longlong value, bool is_unsigned) |
|
static void | fetch_float_with_conversion (MYSQL_BIND *param, MYSQL_FIELD *field, double value, my_gcvt_arg_type type) |
|
static void | fetch_datetime_with_conversion (MYSQL_BIND *param, MYSQL_FIELD *field, MYSQL_TIME *my_time) |
|
static void | fetch_result_with_conversion (MYSQL_BIND *param, MYSQL_FIELD *field, uchar **row) |
|
static void | fetch_result_tinyint (MYSQL_BIND *param, MYSQL_FIELD *field, uchar **row) |
|
static void | fetch_result_short (MYSQL_BIND *param, MYSQL_FIELD *field, uchar **row) |
|
static void | fetch_result_int32 (MYSQL_BIND *param, MYSQL_FIELD *field, uchar **row) |
|
static void | fetch_result_int64 (MYSQL_BIND *param, MYSQL_FIELD *field, uchar **row) |
|
static void | fetch_result_float (MYSQL_BIND *param, MYSQL_FIELD *field, uchar **row) |
|
static void | fetch_result_double (MYSQL_BIND *param, MYSQL_FIELD *field, uchar **row) |
|
static void | fetch_result_time (MYSQL_BIND *param, MYSQL_FIELD *field, uchar **row) |
|
static void | fetch_result_date (MYSQL_BIND *param, MYSQL_FIELD *field, uchar **row) |
|
static void | fetch_result_datetime (MYSQL_BIND *param, MYSQL_FIELD *field, uchar **row) |
|
static void | fetch_result_bin (MYSQL_BIND *param, MYSQL_FIELD *field, uchar **row) |
|
static void | fetch_result_str (MYSQL_BIND *param, MYSQL_FIELD *field, uchar **row) |
|
static void | skip_result_fixed (MYSQL_BIND *param, MYSQL_FIELD *field, uchar **row) |
|
static void | skip_result_with_length (MYSQL_BIND *param, MYSQL_FIELD *field, uchar **row) |
|
static void | skip_result_string (MYSQL_BIND *param, MYSQL_FIELD *field, uchar **row) |
|
static bool | is_binary_compatible (enum enum_field_types type1, enum enum_field_types type2) |
|
bool STDCALL | mysql_stmt_bind_result (MYSQL_STMT *stmt, MYSQL_BIND *my_bind) |
|
static int | stmt_fetch_row (MYSQL_STMT *stmt, uchar *row) |
|
int | cli_unbuffered_fetch (MYSQL *mysql, char **row) |
|
int STDCALL | mysql_stmt_fetch (MYSQL_STMT *stmt) |
|
int STDCALL | mysql_stmt_fetch_column (MYSQL_STMT *stmt, MYSQL_BIND *my_bind, uint column, ulong offset) |
|
int | cli_read_binary_rows (MYSQL_STMT *stmt) |
|
int STDCALL | mysql_stmt_store_result (MYSQL_STMT *stmt) |
|
MYSQL_ROW_OFFSET STDCALL | mysql_stmt_row_seek (MYSQL_STMT *stmt, MYSQL_ROW_OFFSET row) |
|
MYSQL_ROW_OFFSET STDCALL | mysql_stmt_row_tell (MYSQL_STMT *stmt) |
|
void STDCALL | mysql_stmt_data_seek (MYSQL_STMT *stmt, uint64_t row) |
|
uint64_t STDCALL | mysql_stmt_num_rows (MYSQL_STMT *stmt) |
|
bool STDCALL | mysql_stmt_free_result (MYSQL_STMT *stmt) |
|
bool STDCALL | mysql_stmt_close (MYSQL_STMT *stmt) |
|
bool STDCALL | mysql_stmt_reset (MYSQL_STMT *stmt) |
|
uint STDCALL | mysql_stmt_errno (MYSQL_STMT *stmt) |
|
const char *STDCALL | mysql_stmt_sqlstate (MYSQL_STMT *stmt) |
|
const char *STDCALL | mysql_stmt_error (MYSQL_STMT *stmt) |
|
net_async_status STDCALL | mysql_next_result_nonblocking (MYSQL *mysql) |
|
int STDCALL | mysql_stmt_next_result (MYSQL_STMT *stmt) |
|
bool STDCALL | mysql_read_query_result (MYSQL *mysql) |
|