summaryrefslogtreecommitdiffstats
path: root/import-layers/meta-openembedded/meta-oe/recipes-support/mysql/mariadb/gcc7.patch
blob: 3e75b26c765c279f6e983b1259aad5b58dc3eb6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)))
       {
OpenPOWER on IntegriCloud