MySQL 8.4.3
Source Code Documentation
MYSQL_METHODS Struct Reference

#include <sql_common.h>

Public Attributes

MYSQL *(* connect_method )(mysql_async_connect *connect_args)
 
bool(* read_query_result )(MYSQL *mysql)
 
bool(* advanced_command )(MYSQL *mysql, enum enum_server_command command, const unsigned char *header, size_t header_length, const unsigned char *arg, size_t arg_length, bool skip_check, MYSQL_STMT *stmt)
 
MYSQL_DATA *(* read_rows )(MYSQL *mysql, MYSQL_FIELD *mysql_fields, unsigned int fields)
 
MYSQL_RES *(* use_result )(MYSQL *mysql)
 
MYSQL_ROW(* fetch_row )(MYSQL_RES *)
 
void(* fetch_lengths )(unsigned long *to, MYSQL_ROW column, unsigned int field_count)
 
void(* flush_use_result )(MYSQL *mysql, bool flush_all_results)
 
int(* read_change_user_result )(MYSQL *mysql)
 
enum net_async_status(* read_query_result_nonblocking )(MYSQL *mysql)
 
enum net_async_status(* advanced_command_nonblocking )(MYSQL *mysql, enum enum_server_command command, const unsigned char *header, unsigned long header_length, const unsigned char *arg, unsigned long arg_length, bool skip_check, MYSQL_STMT *stmt, bool *error)
 
enum net_async_status(* read_rows_nonblocking )(MYSQL *mysql, MYSQL_FIELD *mysql_fields, unsigned int fields, MYSQL_DATA **result)
 
enum net_async_status(* flush_use_result_nonblocking )(MYSQL *mysql, bool flush_all_results)
 
enum net_async_status(* next_result_nonblocking )(MYSQL *mysql)
 
enum net_async_status(* read_change_user_result_nonblocking )(MYSQL *mysql, ulong *res)
 

Member Data Documentation

◆ advanced_command

bool(* MYSQL_METHODS::advanced_command) (MYSQL *mysql, enum enum_server_command command, const unsigned char *header, size_t header_length, const unsigned char *arg, size_t arg_length, bool skip_check, MYSQL_STMT *stmt)

◆ advanced_command_nonblocking

enum net_async_status(* MYSQL_METHODS::advanced_command_nonblocking) (MYSQL *mysql, enum enum_server_command command, const unsigned char *header, unsigned long header_length, const unsigned char *arg, unsigned long arg_length, bool skip_check, MYSQL_STMT *stmt, bool *error)

◆ connect_method

MYSQL *(* MYSQL_METHODS::connect_method) (mysql_async_connect *connect_args)

◆ fetch_lengths

void(* MYSQL_METHODS::fetch_lengths) (unsigned long *to, MYSQL_ROW column, unsigned int field_count)

◆ fetch_row

MYSQL_ROW(* MYSQL_METHODS::fetch_row) (MYSQL_RES *)

◆ flush_use_result

void(* MYSQL_METHODS::flush_use_result) (MYSQL *mysql, bool flush_all_results)

◆ flush_use_result_nonblocking

enum net_async_status(* MYSQL_METHODS::flush_use_result_nonblocking) (MYSQL *mysql, bool flush_all_results)

◆ next_result_nonblocking

enum net_async_status(* MYSQL_METHODS::next_result_nonblocking) (MYSQL *mysql)

◆ read_change_user_result

int(* MYSQL_METHODS::read_change_user_result) (MYSQL *mysql)

◆ read_change_user_result_nonblocking

enum net_async_status(* MYSQL_METHODS::read_change_user_result_nonblocking) (MYSQL *mysql, ulong *res)

◆ read_query_result

bool(* MYSQL_METHODS::read_query_result) (MYSQL *mysql)

◆ read_query_result_nonblocking

enum net_async_status(* MYSQL_METHODS::read_query_result_nonblocking) (MYSQL *mysql)

◆ read_rows

MYSQL_DATA *(* MYSQL_METHODS::read_rows) (MYSQL *mysql, MYSQL_FIELD *mysql_fields, unsigned int fields)

◆ read_rows_nonblocking

enum net_async_status(* MYSQL_METHODS::read_rows_nonblocking) (MYSQL *mysql, MYSQL_FIELD *mysql_fields, unsigned int fields, MYSQL_DATA **result)

◆ use_result

MYSQL_RES *(* MYSQL_METHODS::use_result) (MYSQL *mysql)

The documentation for this struct was generated from the following file: