driver-mysql.c revision 7bafda1813454621e03615e83d55bccfa7cc56bd
949N/A#include "sql-api-private.h"
949N/A#ifdef BUILD_MYSQL
949N/A unsigned int next_query_connection;
949N/Astruct mysql_connection {
949N/A unsigned int connect_delay;
949N/A unsigned int connect_failure_count;
949N/Astruct mysql_result {
949N/A unsigned int fields_count;
949N/Astruct mysql_transaction_context {
949N/Astruct mysql_query_list {
949N/A unsigned int *affected_rows;
949N/A#ifdef HAVE_MYSQL_SSL
949N/A#ifdef HAVE_MYSQL_SSL_CIPHER
949N/A const char *connect_string)
static enum sql_db_flags
return SQL_DB_FLAG_BLOCKING;
const char *query)
case CR_SERVER_GONE_ERROR:
case CR_SERVER_LOST:
bool reset;
int ret;
i = start;
if (ret != 0) {
return ret;
} while (i != start);
if (reset)
for (i = 0; i < count; i++)
unsigned int i, count;
char *to;
for (i = 0; i < count; i++) {
if (i == count) {
for (i = 0; i < count; i++) {
if (i == count) {
return to;
return to;
static struct sql_result *
const char *field_name)
unsigned int idx)
return NULL;
const char *field_name)
int idx;
if (idx < 0)
return NULL;
static struct sql_transaction_context *
const char *error;
const char *query)
int ret = 0;
return ret;
const char **error_r)
int ret = 0;
return ret;
unsigned int *affected_rows)
void driver_mysql_init(void);
void driver_mysql_deinit(void);
void driver_mysql_init(void)
void driver_mysql_deinit(void)