summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2017-11-21 10:00:08 -0500
committerBrian Evans <grknight@gentoo.org>2017-11-21 10:00:08 -0500
commit3a4ccb251df768eb8d9ab440ebf220c22a8556af (patch)
tree560371f8c64cca58e9e01a64231849967d5cfda6 /20028_all_mysql-5.6-gcc7.patch
parentRespin index for cluster updates (diff)
downloadmysql-extras-3a4ccb251df768eb8d9ab440ebf220c22a8556af.tar.gz
mysql-extras-3a4ccb251df768eb8d9ab440ebf220c22a8556af.tar.bz2
mysql-extras-3a4ccb251df768eb8d9ab440ebf220c22a8556af.zip
Add gcc 7 compilation patch for MySQL 5.6mysql-extras-20171121-1518Z
Diffstat (limited to '20028_all_mysql-5.6-gcc7.patch')
-rw-r--r--20028_all_mysql-5.6-gcc7.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/20028_all_mysql-5.6-gcc7.patch b/20028_all_mysql-5.6-gcc7.patch
new file mode 100644
index 0000000..cf8caed
--- /dev/null
+++ b/20028_all_mysql-5.6-gcc7.patch
@@ -0,0 +1,13 @@
+diff --git a/sql-common/client_authentication.cc b/sql-common/client_authentication.cc
+index eaeb2d4..035ecd2 100644
+--- a/sql-common/client_authentication.cc
++++ b/sql-common/client_authentication.cc
+@@ -84,7 +84,7 @@ RSA *rsa_init(MYSQL *mysql)
+
+ if (mysql->options.extension != NULL &&
+ mysql->options.extension->server_public_key_path != NULL &&
+- mysql->options.extension->server_public_key_path != '\0')
++ mysql->options.extension->server_public_key_path[0] != '\0')
+ {
+ pub_key_file= fopen(mysql->options.extension->server_public_key_path,
+ "r");