mirror of
https://github.com/MariaDB/server.git
synced 2025-08-09 22:24:09 +03:00
client: mysql - fix type
field_names[x][y] is a pointer client/mysql.cc: In function 'void build_completion_hash(bool, bool)': client/mysql.cc:2855:37: error: invalid conversion from 'char' to 'char*' [-fpermissive] field_names[i][num_fields*2]= '\0'; Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
This commit is contained in:
committed by
Sergey Vojtovich
parent
27bc13b7a2
commit
7338d3f221
@@ -2852,7 +2852,7 @@ You can turn off this feature to get a quicker startup with -A\n\n");
|
|||||||
mysql_free_result(fields);
|
mysql_free_result(fields);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
field_names[i][num_fields*2]= '\0';
|
field_names[i][num_fields*2]= NULL;
|
||||||
j=0;
|
j=0;
|
||||||
while ((sql_field=mysql_fetch_field(fields)))
|
while ((sql_field=mysql_fetch_field(fields)))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user