![]() |
MySQL 8.0.40
Source Code Documentation
|
#include <mysql/components/service.h>
#include <mysql/components/services/mysql_string.h>
#include <stdint.h>
Go to the source code of this file.
Classes | |
struct | s_mysql_mysql_command_factory |
A service that provides the apis for mysql command init, info, connect, reset, close, commit, auto_commit and rollback. More... | |
struct | s_mysql_mysql_command_thread |
A service that provides the apis for mysql command session thread init and thread end. More... | |
struct | s_mysql_mysql_command_options |
A service that provides the apis for mysql command get_option and set_option. More... | |
struct | s_mysql_mysql_command_query |
A service that provides the apis for mysql command query and affected_rows. More... | |
struct | s_mysql_mysql_command_query_result |
A service that provides the apis for mysql command, store_result, free_result, more_results, next_result, result_metadata and fetch_row. More... | |
struct | s_mysql_mysql_command_field_info |
A service that provides the apis for mysql command field info, fetch_field, num_fields, fetch_fields and field_count. More... | |
struct | s_mysql_mysql_command_field_metadata |
Fetch the metadata of a service. More... | |
struct | s_mysql_mysql_command_error_info |
A service that provides the apis for mysql command error info, mysql_errno, error, sqlstate. More... | |
Macros | |
#define | MYSQL_ROW_H char ** |
#define | MYSQL_COMMAND_FIELD_METADATA_NAME 0 |
#define | MYSQL_COMMAND_FIELD_METADATA_TABLE_NAME 1 |
#define | MYSQL_COMMAND_FIELD_METADATA_TABLE_DB_NAME 2 |
Typedefs | |
typedef struct MYSQL_H_imp * | MYSQL_H |
typedef struct MYSQL_RES_H_imp * | MYSQL_RES_H |
typedef struct MYSQL_FIELD_H_imp * | MYSQL_FIELD_H |
typedef struct s_mysql_mysql_command_factory | mysql_service_mysql_command_factory_t |
A service that provides the apis for mysql command init, info, connect, reset, close, commit, auto_commit and rollback. More... | |
typedef struct s_mysql_mysql_command_thread | mysql_service_mysql_command_thread_t |
A service that provides the apis for mysql command session thread init and thread end. More... | |
typedef struct s_mysql_mysql_command_options | mysql_service_mysql_command_options_t |
A service that provides the apis for mysql command get_option and set_option. More... | |
typedef struct s_mysql_mysql_command_query | mysql_service_mysql_command_query_t |
A service that provides the apis for mysql command query and affected_rows. More... | |
typedef struct s_mysql_mysql_command_query_result | mysql_service_mysql_command_query_result_t |
A service that provides the apis for mysql command, store_result, free_result, more_results, next_result, result_metadata and fetch_row. More... | |
typedef struct s_mysql_mysql_command_field_info | mysql_service_mysql_command_field_info_t |
A service that provides the apis for mysql command field info, fetch_field, num_fields, fetch_fields and field_count. More... | |
typedef struct s_mysql_mysql_command_field_metadata | mysql_service_mysql_command_field_metadata_t |
Fetch the metadata of a service. More... | |
typedef struct s_mysql_mysql_command_error_info | mysql_service_mysql_command_error_info_t |
A service that provides the apis for mysql command error info, mysql_errno, error, sqlstate. More... | |
Enumerations | |
enum | mysql_command_option { MYSQL_TEXT_CONSUMER_FACTORY = 1024 , MYSQL_TEXT_CONSUMER_METADATA , MYSQL_TEXT_CONSUMER_ROW_FACTORY , MYSQL_TEXT_CONSUMER_ERROR , MYSQL_TEXT_CONSUMER_GET_NULL , MYSQL_TEXT_CONSUMER_GET_INTEGER , MYSQL_TEXT_CONSUMER_GET_LONGLONG , MYSQL_TEXT_CONSUMER_GET_DECIMAL , MYSQL_TEXT_CONSUMER_GET_DOUBLE , MYSQL_TEXT_CONSUMER_GET_DATE_TIME , MYSQL_TEXT_CONSUMER_GET_STRING , MYSQL_TEXT_CONSUMER_CLIENT_CAPABILITIES , MYSQL_COMMAND_LOCAL_THD_HANDLE , MYSQL_COMMAND_PROTOCOL , MYSQL_COMMAND_USER_NAME , MYSQL_COMMAND_HOST_NAME , MYSQL_COMMAND_TCPIP_PORT } |
This enum is used in mysql_service_mysql_command_options service to set the provided option similar to mysql_option api. More... | |
#define MYSQL_COMMAND_FIELD_METADATA_NAME 0 |
#define MYSQL_COMMAND_FIELD_METADATA_TABLE_DB_NAME 2 |
#define MYSQL_COMMAND_FIELD_METADATA_TABLE_NAME 1 |
#define MYSQL_ROW_H char ** |
typedef struct MYSQL_FIELD_H_imp* MYSQL_FIELD_H |
typedef struct MYSQL_H_imp* MYSQL_H |
typedef struct MYSQL_RES_H_imp* MYSQL_RES_H |
enum mysql_command_option |
This enum is used in mysql_service_mysql_command_options service to set the provided option similar to mysql_option api.