File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -1081,7 +1081,7 @@ do { doubleget_union _tmp; \
10811081#elif defined(HAVE_DLFCN_H )
10821082#include <dlfcn.h>
10831083#endif
1084- #if HAVE_DLERROR
1084+ #ifndef HAVE_DLERROR
10851085#define dlerror () ""
10861086#endif
10871087#endif
Original file line number Diff line number Diff line change @@ -935,7 +935,6 @@ static int test_connect_attrs(MYSQL *my)
935935
936936 if (!(mysql -> server_capabilities & CLIENT_CONNECT_ATTRS ))
937937 {
938- mysql_close (mysql );
939938 diag ("Server doesn't support connection attributes" );
940939 return SKIP ;
941940 }
@@ -956,7 +955,6 @@ static int test_connect_attrs(MYSQL *my)
956955
957956 len = mysql -> options .extension -> connect_attrs_len ;
958957
959-
960958 mysql_close (mysql );
961959
962960 FAIL_IF (rc < 3 , "Expected 3 or more rows" );
You can’t perform that action at this time.
0 commit comments