You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-07 02:42:49 +03:00
10.2-integration:
Avoid redefinition of plugin structure (mysql_client_test)
This commit is contained in:
@@ -414,8 +414,7 @@ typedef struct character_set
|
|||||||
|
|
||||||
#include "mariadb_stmt.h"
|
#include "mariadb_stmt.h"
|
||||||
|
|
||||||
#ifndef _have_client_plugin_declarations_
|
#ifndef MYSQL_CLIENT_PLUGIN_HEADER
|
||||||
#define _have_client_plugin_declarations_
|
|
||||||
#define MYSQL_CLIENT_PLUGIN_HEADER \
|
#define MYSQL_CLIENT_PLUGIN_HEADER \
|
||||||
int type; \
|
int type; \
|
||||||
unsigned int interface_version; \
|
unsigned int interface_version; \
|
||||||
|
@@ -67,6 +67,7 @@
|
|||||||
#define mysql_end_client_plugin }
|
#define mysql_end_client_plugin }
|
||||||
|
|
||||||
/* generic plugin header structure */
|
/* generic plugin header structure */
|
||||||
|
#ifndef MYSQL_CLIENT_PLUGIN_HEADER
|
||||||
#define MYSQL_CLIENT_PLUGIN_HEADER \
|
#define MYSQL_CLIENT_PLUGIN_HEADER \
|
||||||
int type; \
|
int type; \
|
||||||
unsigned int interface_version; \
|
unsigned int interface_version; \
|
||||||
@@ -81,6 +82,7 @@ struct st_mysql_client_plugin
|
|||||||
{
|
{
|
||||||
MYSQL_CLIENT_PLUGIN_HEADER
|
MYSQL_CLIENT_PLUGIN_HEADER
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
struct st_mysql;
|
struct st_mysql;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user