MySQL 8.0.40
Source Code Documentation
MYSQL_STMT Struct Reference

#include <mysql.h>

Public Attributes

struct MEM_ROOTmem_root
 
LIST list
 
MYSQLmysql
 
MYSQL_BINDparams
 
MYSQL_BINDbind
 
MYSQL_FIELDfields
 
MYSQL_DATA result
 
MYSQL_ROWSdata_cursor
 
int(* read_row_func )(struct MYSQL_STMT *stmt, unsigned char **row)
 
uint64_t affected_rows
 
uint64_t insert_id
 
unsigned long stmt_id
 
unsigned long flags
 
unsigned long prefetch_rows
 
unsigned int server_status
 
unsigned int last_errno
 
unsigned int param_count
 
unsigned int field_count
 
enum enum_mysql_stmt_state state
 
char last_error [MYSQL_ERRMSG_SIZE]
 
char sqlstate [SQLSTATE_LENGTH+1]
 
bool send_types_to_server
 
bool bind_param_done
 
unsigned char bind_result_done
 
bool unbuffered_fetch_cancelled
 
bool update_max_length
 
struct MYSQL_STMT_EXTextension
 

Member Data Documentation

◆ affected_rows

uint64_t MYSQL_STMT::affected_rows

◆ bind

MYSQL_BIND* MYSQL_STMT::bind

◆ bind_param_done

bool MYSQL_STMT::bind_param_done

◆ bind_result_done

unsigned char MYSQL_STMT::bind_result_done

◆ data_cursor

MYSQL_ROWS* MYSQL_STMT::data_cursor

◆ extension

struct MYSQL_STMT_EXT* MYSQL_STMT::extension

◆ field_count

unsigned int MYSQL_STMT::field_count

◆ fields

MYSQL_FIELD* MYSQL_STMT::fields

◆ flags

unsigned long MYSQL_STMT::flags

◆ insert_id

uint64_t MYSQL_STMT::insert_id

◆ last_errno

unsigned int MYSQL_STMT::last_errno

◆ last_error

char MYSQL_STMT::last_error[MYSQL_ERRMSG_SIZE]

◆ list

LIST MYSQL_STMT::list

◆ mem_root

struct MEM_ROOT* MYSQL_STMT::mem_root

◆ mysql

MYSQL* MYSQL_STMT::mysql

◆ param_count

unsigned int MYSQL_STMT::param_count

◆ params

MYSQL_BIND* MYSQL_STMT::params

◆ prefetch_rows

unsigned long MYSQL_STMT::prefetch_rows

◆ read_row_func

int(* MYSQL_STMT::read_row_func) (struct MYSQL_STMT *stmt, unsigned char **row)

◆ result

MYSQL_DATA MYSQL_STMT::result

◆ send_types_to_server

bool MYSQL_STMT::send_types_to_server

◆ server_status

unsigned int MYSQL_STMT::server_status

◆ sqlstate

char MYSQL_STMT::sqlstate[SQLSTATE_LENGTH+1]

◆ state

enum enum_mysql_stmt_state MYSQL_STMT::state

◆ stmt_id

unsigned long MYSQL_STMT::stmt_id

◆ unbuffered_fetch_cancelled

bool MYSQL_STMT::unbuffered_fetch_cancelled

◆ update_max_length

bool MYSQL_STMT::update_max_length

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