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
unittest fix:
Added macro SKIP_NOTLS for skipping tests if MariaDB Connector/C was build without TLS support.
This commit is contained in:
@@ -61,7 +61,17 @@ if (IS_SKYSQL(hostname)) \
|
||||
{ \
|
||||
diag("Not supported by SkySQL"); \
|
||||
return SKIP; \
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef HAVE_SSL
|
||||
#define SKIP_NOTLS \
|
||||
{ \
|
||||
diag("TLS not supported"); \
|
||||
return SKIP;\
|
||||
}
|
||||
#else
|
||||
#define SKIP_NOTLS
|
||||
#endif
|
||||
|
||||
#define MAX_KEY MAX_INDEXES
|
||||
#define MAX_KEY_LENGTH_DECIMAL_WIDTH 4 /* strlen("4096") */
|
||||
|
Reference in New Issue
Block a user