Skip to content

Commit

Permalink
Fix compiling on 8.0.0 and 8.0.1
Browse files Browse the repository at this point in the history
This failed because MYSQL_OPT_GET_SERVER_PUBLIC_KEY was undeclared
  • Loading branch information
dveeden committed Nov 4, 2018
1 parent 318e025 commit 08df02e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbdimp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1908,7 +1908,7 @@ MYSQL *mysql_dr_connect(
}

#ifndef MARIADB_BASE_VERSION
#if (MYSQL_VERSION_ID >= 50723)
#ifdef MYSQL_OPT_GET_SERVER_PUBLIC_KEY
if ((svp = hv_fetch(hv, "mysql_get_server_pubkey", 23, FALSE)) && *svp && SvTRUE(*svp)) {
my_bool server_get_pubkey = 1;
mysql_options(sock, MYSQL_OPT_GET_SERVER_PUBLIC_KEY, &server_get_pubkey);
Expand Down

0 comments on commit 08df02e

Please sign in to comment.