Contents of /trunk/mysql/patches/mysql-5.5.57-gcc7.patch
Parent Directory | Revision Log
Revision 2962 -
(show annotations)
(download)
Wed Aug 2 14:10:32 2017 UTC (7 years, 1 month ago) by niro
File size: 460 byte(s)
Wed Aug 2 14:10:32 2017 UTC (7 years, 1 month ago) by niro
File size: 460 byte(s)
-added gcc7 patch
1 | diff -Naur mysql-5.5.57/client/mysql.cc mysql-5.5.57-gcc7/client/mysql.cc |
2 | --- mysql-5.5.57/client/mysql.cc 2017-06-05 08:38:02.000000000 +0200 |
3 | +++ mysql-5.5.57-gcc7/client/mysql.cc 2017-08-02 16:09:20.854369133 +0200 |
4 | @@ -2668,7 +2668,7 @@ |
5 | mysql_free_result(fields); |
6 | break; |
7 | } |
8 | - field_names[i][num_fields*2]= '\0'; |
9 | + field_names[i][num_fields*2]= NULL; |
10 | j=0; |
11 | while ((sql_field=mysql_fetch_field(fields))) |
12 | { |