From b080cff3aa916871c4fcfe1060c656368016e1c4 Mon Sep 17 00:00:00 2001 From: Alexey Botchkov Date: Tue, 5 Sep 2023 15:37:33 +0400 Subject: [PATCH] MDEV-27295 Backport SQL service, introduced by MDEV-19275. ifdef fixed. --- include/mariadb_capi_rename.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mariadb_capi_rename.h b/include/mariadb_capi_rename.h index 616a9142fe6..58e16fdc0c0 100644 --- a/include/mariadb_capi_rename.h +++ b/include/mariadb_capi_rename.h @@ -22,7 +22,7 @@ #ifndef MARIADB_CAPI_RENAME_INCLUDED #define MARIADB_CAPI_RENAME_INCLUDED -#if !defined(EMBEDDED_LIBRARY) +#if !defined(EMBEDDED_LIBRARY) && !defined(MYSQL_DYNAMIC_PLUGIN) #define MARIADB_ADD_PREFIX(_SYMBOL) server_##_SYMBOL #define mysql_real_connect MARIADB_ADD_PREFIX(mysql_real_connect)