Search Results
https://dev.mysql.com/doc/c-api/8.4/en/c-api-basic-function-reference.html
The following table summarizes the functions available in the C API basic interface. For greater detail, see the descriptions in Section 5.4, “C API Basic Function Descriptions”.
https://dev.mysql.com/doc/c-api/8.4/en/c-api-data-structures.html
This section describes C API data structures other than those used for prepared statements, the asynchronous interface, or the replication stream interface. For information about those, see Section 6.2, “C API Prepared Statement Data ...
https://dev.mysql.com/doc/c-api/8.4/en/c-api-function-descriptions.html
Functions that return a value generally return a pointer or an integer. Unless specified otherwise, functions returning a pointer return a non-NULL value to indicate success or a NULL value to indicate an error, and functions returning an integer ...
https://dev.mysql.com/doc/c-api/8.4/en/c-api-function-reference.html
The following table summarizes all functions available for the MySQL C API.
https://dev.mysql.com/doc/c-api/8.4/en/c-api-prepared-statement-data-structures.html
For integer variables (which can be char for single-byte values or an integer type for larger values), you should also indicate whether the variable has the unsigned attribute by setting the is_unsigned member, described later. Prepared statements ...
https://dev.mysql.com/doc/c-api/8.4/en/c-api-prepared-statement-type-codes.html
For the integer types, you should also set the is_unsigned member to indicate whether the variable is signed or unsigned. For the integer types, you should also set the is_unsigned member to indicate whether the variable is signed or unsigned. The ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-get-client-version.html
unsigned long mysql_get_client_version(void) Description Returns an integer that represents the MySQL client library version. Return Values An integer that represents the MySQL client library version. The value has the format XXYYZZ, where XX is ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-get-server-version.html
unsigned long mysql_get_server_version(MYSQL *mysql) Description Returns an integer that represents the MySQL server version. The value has the format XXYYZZ, where XX is the major version, YY is the release level (or minor version), and ZZ is the ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-options.html
If the option is an integer, specify a pointer to the value of the integer as the arg argument. int mysql_options(MYSQL *mysql, enum mysql_option option, const void *arg) Description Can be used to set extra connect options and affect behavior for ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-attr-get.html
If the option is an integer, arg should point to the value of the integer. bool mysql_stmt_attr_get(MYSQL_STMT *stmt, enum enum_stmt_attr_type option, void *arg) Description Can be used to get the current value for a statement attribute. The option ...