CMGDK r49-rc2
宏定义 | 函数 | 变量
K:/CMGDKv18/SDK/Source/SQL/MySQL/include/sql_common.h文件参考

浏览该文件的源代码。

宏定义

#define protocol_41(A)   ((A)->server_capabilities & CLIENT_PROTOCOL_41)

函数

MYSQL_FIELDunpack_fields (MYSQL_DATA *data, MEM_ROOT *alloc, uint fields, my_bool default_value, uint server_capabilities)
void free_rows (MYSQL_DATA *cur)
void free_old_query (MYSQL *mysql)
void end_server (MYSQL *mysql)
my_bool mysql_reconnect (MYSQL *mysql)
void mysql_read_default_options (struct st_mysql_options *options, const char *filename, const char *group)
my_bool cli_advanced_command (MYSQL *mysql, enum enum_server_command command, const unsigned char *header, ulong header_length, const unsigned char *arg, ulong arg_length, my_bool skip_check, MYSQL_STMT *stmt)
unsigned long cli_safe_read (MYSQL *mysql)
void net_clear_error (NET *net)
void set_stmt_errmsg (MYSQL_STMT *stmt, NET *net)
void set_stmt_error (MYSQL_STMT *stmt, int errcode, const char *sqlstate, const char *err)
void set_mysql_error (MYSQL *mysql, int errcode, const char *sqlstate)

变量

const char * unknown_sqlstate
const char * cant_connect_sqlstate
const char * not_error_sqlstate
CHARSET_INFOdefault_client_charset_info

宏定义文档

#define protocol_41 (   A)    ((A)->server_capabilities & CLIENT_PROTOCOL_41)

函数文档

my_bool cli_advanced_command ( MYSQL mysql,
enum enum_server_command  command,
const unsigned char *  header,
ulong  header_length,
const unsigned char *  arg,
ulong  arg_length,
my_bool  skip_check,
MYSQL_STMT stmt 
)
unsigned long cli_safe_read ( MYSQL mysql)
void end_server ( MYSQL mysql)
void free_old_query ( MYSQL mysql)
void free_rows ( MYSQL_DATA cur)
void mysql_read_default_options ( struct st_mysql_options options,
const char *  filename,
const char *  group 
)
my_bool mysql_reconnect ( MYSQL mysql)
void net_clear_error ( NET net)
void set_mysql_error ( MYSQL mysql,
int  errcode,
const char *  sqlstate 
)
void set_stmt_errmsg ( MYSQL_STMT stmt,
NET net 
)
void set_stmt_error ( MYSQL_STMT stmt,
int  errcode,
const char *  sqlstate,
const char *  err 
)
MYSQL_FIELD* unpack_fields ( MYSQL_DATA data,
MEM_ROOT alloc,
uint  fields,
my_bool  default_value,
uint  server_capabilities 
)

变量文档

const char* cant_connect_sqlstate
const char* not_error_sqlstate
const char* unknown_sqlstate
 全部  名字空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义