aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/mysql/mariadb/gcc7.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-04-23 22:20:55 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2017-04-26 20:13:31 +0200
commit94cc46bc162b40725cd58a54c8b6738a16b75786 (patch)
tree96d4eb3c62eb32eb2934afd73000e16e22c8ea56 /meta-oe/recipes-support/mysql/mariadb/gcc7.patch
parent50cf14b46281c02613b1792381f1863e7e29ded7 (diff)
downloadmeta-openembedded-contrib-94cc46bc162b40725cd58a54c8b6738a16b75786.tar.gz
mariadb: Upgrade to 5.5.55
Fix build with gcc7 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/mysql/mariadb/gcc7.patch')
-rw-r--r--meta-oe/recipes-support/mysql/mariadb/gcc7.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/mysql/mariadb/gcc7.patch b/meta-oe/recipes-support/mysql/mariadb/gcc7.patch
new file mode 100644
index 0000000000..3e75b26c76
--- /dev/null
+++ b/meta-oe/recipes-support/mysql/mariadb/gcc7.patch
@@ -0,0 +1,13 @@
+Index: mariadb-5.5.55/client/mysql.cc
+===================================================================
+--- mariadb-5.5.55.orig/client/mysql.cc
++++ mariadb-5.5.55/client/mysql.cc
+@@ -2850,7 +2850,7 @@ You can turn off this feature to get a q
+ mysql_free_result(fields);
+ break;
+ }
+- field_names[i][num_fields*2]= '\0';
++ field_names[i][num_fields*2][0]= '\0';
+ j=0;
+ while ((sql_field=mysql_fetch_field(fields)))
+ {