1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-08 14:02:17 +03:00

Since we can't determine if load data local is

suppoerted by Xpand, we skip it for now.
This commit is contained in:
Georg Richter
2023-02-17 11:23:22 +01:00
parent 5254af3058
commit 780c330f38

View File

@@ -102,13 +102,14 @@ if (IS_MAXSCALE()) \
#define SKIP_XPAND \ #define SKIP_XPAND \
if (IS_XPAND()) \ if (IS_XPAND()) \
{ \ { \
diag("test disabled with xpand"); \ diag("test disabled with Xpand"); \
return SKIP; \ return SKIP; \
} }
#define SKIP_LOAD_INFILE_DISABLE \ #define SKIP_LOAD_INFILE_DISABLE \
if (!((mysql->server_capabilities & CLIENT_LOCAL_FILES) && \ if (!((mysql->server_capabilities & CLIENT_LOCAL_FILES) && \
(mysql->options.client_flag & CLIENT_LOCAL_FILES))) { \ (mysql->options.client_flag & CLIENT_LOCAL_FILES)) || \
IS_XPAND()) { \
diag("Load local infile not supported"); \ diag("Load local infile not supported"); \
return SKIP; \ return SKIP; \
} }