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
[TODO-5373] add github action
This commit is contained in:
@@ -1663,8 +1663,13 @@ int display_extended_field_attribute(MYSQL *mysql)
|
||||
|
||||
static int test_ext_field_attr(MYSQL *mysql)
|
||||
{
|
||||
if (!is_mariadb)
|
||||
{
|
||||
diag("feature not supported by MySQL server");
|
||||
return SKIP;
|
||||
}
|
||||
display_extended_field_attribute(mysql);
|
||||
|
||||
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
@@ -96,6 +96,10 @@ if (IS_MAXSCALE()) \
|
||||
return SKIP; \
|
||||
}
|
||||
|
||||
#define IS_ENTERPRISE()\
|
||||
((mysql_default && strstr(mysql_get_server_info(mysql_default), "enterprise")) ||\
|
||||
(getenv("srv")!=NULL && (strcmp(getenv("srv"), "enterprise"))))
|
||||
|
||||
#define IS_XPAND()\
|
||||
((mysql_default && strstr(mysql_get_server_info(mysql_default), "Xpand")) ||\
|
||||
(getenv("srv")!=NULL && strcmp(getenv("srv"), "xpand") == 0))
|
||||
|
Reference in New Issue
Block a user