Line 0
Link Here
|
|
|
1 |
--- dbdimp.c.orig 2018-09-09 20:15:04.611016000 +0200 |
2 |
+++ dbdimp.c 2018-09-09 20:15:37.234721000 +0200 |
3 |
@@ -1907,14 +1907,14 @@ |
4 |
(SvTRUE(*svp) ? "utf8" : "latin1")); |
5 |
} |
6 |
|
7 |
-#if (MYSQL_VERSION_ID >= 50723) && (MYSQL_VERSION_ID < MARIADB_BASE_VERSION) |
8 |
+#if (MYSQL_VERSION_ID >= 50723) && (MYSQL_VERSION_ID < MARIADB_VERSION_ID) |
9 |
if ((svp = hv_fetch(hv, "mysql_get_server_pubkey", 23, FALSE)) && *svp && SvTRUE(*svp)) { |
10 |
my_bool server_get_pubkey = 1; |
11 |
mysql_options(sock, MYSQL_OPT_GET_SERVER_PUBLIC_KEY, &server_get_pubkey); |
12 |
} |
13 |
#endif |
14 |
|
15 |
-#if (MYSQL_VERSION_ID >= 50600) && (MYSQL_VERSION_ID < MARIADB_BASE_VERSION) |
16 |
+#if (MYSQL_VERSION_ID >= 50600) && (MYSQL_VERSION_ID < MARIADB_VERSION_ID) |
17 |
if ((svp = hv_fetch(hv, "mysql_server_pubkey", 19, FALSE)) && *svp) { |
18 |
STRLEN plen; |
19 |
char *server_pubkey = SvPV(*svp, plen); |