'defines' |
#define | CLI_MYSQL_REAL_CONNECT STDCALL mysql_real_connect |
#define | SOCKET_ERROR -1 |
#define | CONNECT_TIMEOUT 0 |
#define | strdup_if_not_null(A) (A) == 0 ? 0 : my_strdup((A),MYF(MY_WME)) |
Funciones |
int | my_connect (my_socket fd, const struct sockaddr *name, uint namelen, uint timeout) |
ulong | cli_safe_read (MYSQL *mysql) |
void | free_rows (MYSQL_DATA *cur) |
my_bool | cli_advanced_command (MYSQL *mysql, enum enum_server_command command, const char *header, ulong header_length, const char *arg, ulong arg_length, my_bool skip_check, MYSQL_STMT *stmt __attribute__((unused))) |
void | free_old_query (MYSQL *mysql) |
void | set_mysql_error (MYSQL *mysql, int errcode, const char *sqlstate) |
void | end_server (MYSQL *mysql) |
void STDCALL | mysql_free_result (MYSQL_RES *result) |
void | mysql_read_default_options (struct st_mysql_options *options, const char *filename, const char *group) |
MYSQL_FIELD * | unpack_fields (MYSQL_DATA *data, MEM_ROOT *alloc, uint fields, my_bool default_value, uint server_capabilities) |
MYSQL_DATA * | cli_read_rows (MYSQL *mysql, MYSQL_FIELD *mysql_fields, unsigned int fields) |
MYSQL *STDCALL | mysql_init (MYSQL *mysql) |
my_bool STDCALL | mysql_ssl_set (MYSQL *mysql __attribute__((unused)), const char *key __attribute__((unused)), const char *cert __attribute__((unused)), const char *ca __attribute__((unused)), const char *capath __attribute__((unused)), const char *cipher __attribute__((unused))) |
const char *STDCALL | mysql_get_ssl_cipher (MYSQL *mysql) |
C_MODE_START int | mysql_init_character_set (MYSQL *mysql) |
C_MODE_END MYSQL *STDCALL | CLI_MYSQL_REAL_CONNECT (MYSQL *mysql, const char *host, const char *user, const char *passwd, const char *db, uint port, const char *unix_socket, ulong client_flag) |
my_bool | mysql_reconnect (MYSQL *mysql) |
int STDCALL | mysql_select_db (MYSQL *mysql, const char *db) |
void | mysql_detach_stmt_list (LIST **stmt_list __attribute__((unused))) |
void STDCALL | mysql_close (MYSQL *mysql) |
int STDCALL | mysql_send_query (MYSQL *mysql, const char *query, ulong length) |
int STDCALL | mysql_real_query (MYSQL *mysql, const char *query, ulong length) |
MYSQL_RES *STDCALL | mysql_store_result (MYSQL *mysql) |
MYSQL_ROW STDCALL | mysql_fetch_row (MYSQL_RES *res) |
ulong *STDCALL | mysql_fetch_lengths (MYSQL_RES *res) |
int STDCALL | mysql_options (MYSQL *mysql, enum mysql_option option, const char *arg) |
my_ulonglong STDCALL | mysql_num_rows (MYSQL_RES *res) |
unsigned int STDCALL | mysql_num_fields (MYSQL_RES *res) |
uint STDCALL | mysql_errno (MYSQL *mysql) |
const char *STDCALL | mysql_error (MYSQL *mysql) |
ulong STDCALL | mysql_get_server_version (MYSQL *mysql) |
int STDCALL | mysql_set_character_set (MYSQL *mysql, const char *cs_name) |
Variables |
uint | mysql_port = 0 |
char * | mysql_unix_port = 0 |
const char * | unknown_sqlstate = "HY000" |
const char * | not_error_sqlstate = "00000" |
CHARSET_INFO * | default_client_charset_info = &my_charset_latin1 |
const char * | sql_protocol_names_lib [] = { "TCP", "SOCKET", "PIPE", "MEMORY", NullS } |
TYPELIB | sql_protocol_typelib |