mirror of
https://github.com/MariaDB/server.git
synced 2025-08-05 13:16:09 +03:00
MDEV-19275 SQL service for plugins.
review fixes.
This commit is contained in:
committed by
Oleksandr Byelkin
parent
e1f9a80900
commit
585d88a237
@@ -322,6 +322,14 @@ typedef struct st_mysql_res {
|
||||
} MYSQL_RES;
|
||||
|
||||
|
||||
/*
|
||||
We should not define MYSQL_CLIENT when the mysql.h is included
|
||||
by the server or server plugins.
|
||||
Now it is important only for the SQL service to work so we rely on
|
||||
the MYSQL_SERVICE_SQL to check we're compiling the server/plugin
|
||||
related file.
|
||||
*/
|
||||
|
||||
#if !defined(MYSQL_SERVICE_SQL) && !defined(MYSQL_CLIENT)
|
||||
#define MYSQL_CLIENT
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user