mysql: fix assign (#23)
This commit is contained in:
parent
a65a017d2a
commit
e116bde86b
13
package/ntlf9t/mysql/patches/130-fix_assign.patch
Normal file
13
package/ntlf9t/mysql/patches/130-fix_assign.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/client/mysql.cc b/client/mysql.cc
|
||||
index 822eeb1..4fafbdf 100644
|
||||
--- a/client/mysql.cc
|
||||
+++ b/client/mysql.cc
|
||||
@@ -2684,7 +2684,7 @@ You can turn off this feature to get a quicker startup with -A\n\n");
|
||||
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)))
|
||||
{
|
||||
Loading…
Reference in New Issue
Block a user