Try to fix build with clang6.
This commit is contained in:
parent
60b37ba338
commit
8df0237606
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=469371
11
databases/mysql55-client/files/patch-client_mysql.cc
Normal file
11
databases/mysql55-client/files/patch-client_mysql.cc
Normal file
@ -0,0 +1,11 @@
|
||||
--- client/mysql.cc.orig 2018-05-08 12:44:38.160868000 +0200
|
||||
+++ client/mysql.cc 2018-05-08 12:45:01.377062000 +0200
|
||||
@@ -2671,7 +2671,7 @@
|
||||
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)))
|
||||
{
|
Loading…
Reference in New Issue
Block a user