diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-01-22 10:09:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-01-22 10:09:44 +0000 |
commit | 09351e78166b5e864197c4456ebae3f89dd0bed9 (patch) | |
tree | 41a96399f56ed3aa399006871bfce4430db84aa2 /dev-db/mysql-cluster/files | |
parent | c8a77dfe4d3d307c1d5dd2650b7297447d8b609d (diff) |
gentoo resync : 22.01.2019
Diffstat (limited to 'dev-db/mysql-cluster/files')
-rw-r--r-- | dev-db/mysql-cluster/files/7.2.34-client.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-db/mysql-cluster/files/7.2.34-client.patch b/dev-db/mysql-cluster/files/7.2.34-client.patch new file mode 100644 index 000000000000..fbf163bf250b --- /dev/null +++ b/dev-db/mysql-cluster/files/7.2.34-client.patch @@ -0,0 +1,25 @@ +From b6c038d4366d003ae00120c96e39a892e5d675c1 Mon Sep 17 00:00:00 2001 +From: Tor Didriksen <tor.didriksen@oracle.com> +Date: Wed, 18 Jul 2018 10:22:21 +0200 +Subject: [PATCH] Fix build break with modern compilers: + +client/mysql.cc: In function void build_completion_hash(bool, bool): +client/mysql.cc:2674:37: error: invalid conversion from char to char* [-fpermissive] + field_names[i][num_fields*2]= '\0'; +--- + client/mysql.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/client/mysql.cc b/client/mysql.cc +index 8510361a54e..bc32a58f37e 100644 +--- a/client/mysql.cc ++++ b/client/mysql.cc +@@ -2671,7 +2671,7 @@ You can turn off this feature to get a quicker startup with -A\n\n"); + mysql_free_result(fields); + break; + } +- field_names[i][num_fields*2]= '\0'; ++ field_names[i][num_fields*2]= NULL; + j=0; + while ((sql_field=mysql_fetch_field(fields))) + { |