MySQL 8.0.39
Source Code Documentation
client_settings.h File Reference
#include "my_macros.h"
#include "mysql.h"

Go to the source code of this file.

Macros

#define CLIENT_CAPABILITIES
 

Functions

void read_user_name (char *name)
 
bool handle_local_infile (MYSQL *mysql, const char *net_filename)
 
void mysql_read_default_options (struct st_mysql_options *options, const char *filename, const char *group)
 
void mysql_detach_stmt_list (LIST **stmt_list, const char *func_name)
 
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)
 
void cli_mysql_close (MYSQL *mysql)
 
MYSQL_FIELDcli_list_fields (MYSQL *mysql)
 
bool cli_read_prepare_result (MYSQL *mysql, MYSQL_STMT *stmt)
 
MYSQL_DATAcli_read_rows (MYSQL *mysql, MYSQL_FIELD *mysql_fields, uint fields)
 
int cli_stmt_execute (MYSQL_STMT *stmt)
 
int cli_read_binary_rows (MYSQL_STMT *stmt)
 
int cli_unbuffered_fetch (MYSQL *mysql, char **row)
 
const char * cli_read_statistics (MYSQL *mysql)
 
int cli_read_change_user_result (MYSQL *mysql)
 
int mysql_init_character_set (MYSQL *mysql)
 

Variables

uint mysql_port
 
char * mysql_unix_port
 

Macro Definition Documentation

◆ CLIENT_CAPABILITIES

#define CLIENT_CAPABILITIES
Value:
CLIENT_PROTOCOL_41 | CLIENT_RESERVED2 | CLIENT_MULTI_RESULTS | \
CLIENT_PS_MULTI_RESULTS | CLIENT_PLUGIN_AUTH | \
CLIENT_PLUGIN_AUTH_LENENC_CLIENT_DATA | CLIENT_CONNECT_ATTRS | \
CLIENT_SESSION_TRACK | CLIENT_DEPRECATE_EOF | CLIENT_QUERY_ATTRIBUTES | \
MULTI_FACTOR_AUTHENTICATION)
#define CLIENT_PLUGIN_AUTH
Client supports plugin authentication.
Definition: mysql_com.h:564
#define CLIENT_MULTI_RESULTS
Enable/disable multi-results.
Definition: mysql_com.h:514
#define CLIENT_QUERY_ATTRIBUTES
Support optional extension for query parameters into the COM_QUERY and COM_STMT_EXECUTE packets.
Definition: mysql_com.h:732
#define CLIENT_LONG_PASSWORD
Use the improved version of Old Password Authentication.
Definition: mysql_com.h:284
#define CLIENT_TRANSACTIONS
Client knows about transactions.
Definition: mysql_com.h:462
#define CLIENT_CONNECT_ATTRS
Client supports connection attributes.
Definition: mysql_com.h:582
#define CLIENT_RESERVED2
DEPRECATED: Old flag for 4.1 authentication \ CLIENT_SECURE_CONNECTION.
Definition: mysql_com.h:464
#define CLIENT_DEPRECATE_EOF
Client no longer needs EOF_Packet and will use OK_Packet instead.
Definition: mysql_com.h:690
#define CLIENT_LONG_FLAG
Get all column flags.
Definition: mysql_com.h:307

Function Documentation

◆ cli_list_fields()

MYSQL_FIELD * cli_list_fields ( MYSQL mysql)

◆ cli_mysql_close()

void cli_mysql_close ( MYSQL mysql)

◆ cli_mysql_real_connect()

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 
)

◆ cli_read_binary_rows()

int cli_read_binary_rows ( MYSQL_STMT stmt)

◆ cli_read_change_user_result()

int cli_read_change_user_result ( MYSQL mysql)

◆ cli_read_prepare_result()

bool cli_read_prepare_result ( MYSQL mysql,
MYSQL_STMT stmt 
)

◆ cli_read_rows()

MYSQL_DATA * cli_read_rows ( MYSQL mysql,
MYSQL_FIELD mysql_fields,
uint  fields 
)

◆ cli_read_statistics()

const char * cli_read_statistics ( MYSQL mysql)

◆ cli_stmt_execute()

int cli_stmt_execute ( MYSQL_STMT stmt)

◆ cli_unbuffered_fetch()

int cli_unbuffered_fetch ( MYSQL mysql,
char **  row 
)

◆ handle_local_infile()

bool handle_local_infile ( MYSQL mysql,
const char *  net_filename 
)

◆ mysql_detach_stmt_list()

void mysql_detach_stmt_list ( LIST **  stmt_list,
const char *  func_name 
)

◆ mysql_init_character_set()

int mysql_init_character_set ( MYSQL mysql)

◆ mysql_read_default_options()

void mysql_read_default_options ( struct st_mysql_options options,
const char *  filename,
const char *  group 
)

◆ read_user_name()

void read_user_name ( char *  name)

Variable Documentation

◆ mysql_port

uint mysql_port
extern

◆ mysql_unix_port

char* mysql_unix_port
extern