You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-08 14:02:17 +03:00
Fix for CONC-101: redefinition of dlerror
This commit is contained in:
@@ -1081,7 +1081,7 @@ do { doubleget_union _tmp; \
|
|||||||
#elif defined(HAVE_DLFCN_H)
|
#elif defined(HAVE_DLFCN_H)
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
#endif
|
#endif
|
||||||
#if HAVE_DLERROR
|
#ifndef HAVE_DLERROR
|
||||||
#define dlerror() ""
|
#define dlerror() ""
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@@ -935,7 +935,6 @@ static int test_connect_attrs(MYSQL *my)
|
|||||||
|
|
||||||
if (!(mysql->server_capabilities & CLIENT_CONNECT_ATTRS))
|
if (!(mysql->server_capabilities & CLIENT_CONNECT_ATTRS))
|
||||||
{
|
{
|
||||||
mysql_close(mysql);
|
|
||||||
diag("Server doesn't support connection attributes");
|
diag("Server doesn't support connection attributes");
|
||||||
return SKIP;
|
return SKIP;
|
||||||
}
|
}
|
||||||
@@ -956,7 +955,6 @@ static int test_connect_attrs(MYSQL *my)
|
|||||||
|
|
||||||
len= mysql->options.extension->connect_attrs_len;
|
len= mysql->options.extension->connect_attrs_len;
|
||||||
|
|
||||||
|
|
||||||
mysql_close(mysql);
|
mysql_close(mysql);
|
||||||
|
|
||||||
FAIL_IF(rc < 3, "Expected 3 or more rows");
|
FAIL_IF(rc < 3, "Expected 3 or more rows");
|
||||||
|
Reference in New Issue
Block a user