diff options
Diffstat (limited to 'meta-oe/recipes-support/mysql/mariadb/gcc7.patch')
| -rw-r--r-- | meta-oe/recipes-support/mysql/mariadb/gcc7.patch | 13 |
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 @@ | |||
| 1 | Index: mariadb-5.5.55/client/mysql.cc | ||
| 2 | =================================================================== | ||
| 3 | --- mariadb-5.5.55.orig/client/mysql.cc | ||
| 4 | +++ mariadb-5.5.55/client/mysql.cc | ||
| 5 | @@ -2850,7 +2850,7 @@ You can turn off this feature to get a q | ||
| 6 | mysql_free_result(fields); | ||
| 7 | break; | ||
| 8 | } | ||
| 9 | - field_names[i][num_fields*2]= '\0'; | ||
| 10 | + field_names[i][num_fields*2][0]= '\0'; | ||
| 11 | j=0; | ||
| 12 | while ((sql_field=mysql_fetch_field(fields))) | ||
| 13 | { | ||
