The mysql command-line client would include superfluous spaces at the end of
some result set lines. (Bug #29622)
This commit is contained in:
parent
50e7c39112
commit
1e9a02c943
@ -3319,6 +3319,9 @@ print_table_data(MYSQL_RES *result)
|
|||||||
uint visible_length;
|
uint visible_length;
|
||||||
uint extra_padding;
|
uint extra_padding;
|
||||||
|
|
||||||
|
if (off)
|
||||||
|
(void) tee_fputs(" ", PAGER);
|
||||||
|
|
||||||
if (cur[off] == NULL)
|
if (cur[off] == NULL)
|
||||||
{
|
{
|
||||||
buffer= "NULL";
|
buffer= "NULL";
|
||||||
@ -3353,7 +3356,7 @@ print_table_data(MYSQL_RES *result)
|
|||||||
else
|
else
|
||||||
tee_print_sized_data(buffer, data_length, field_max_length+extra_padding, FALSE);
|
tee_print_sized_data(buffer, data_length, field_max_length+extra_padding, FALSE);
|
||||||
}
|
}
|
||||||
tee_fputs(" | ", PAGER);
|
tee_fputs(" |", PAGER);
|
||||||
}
|
}
|
||||||
(void) tee_fputs("\n", PAGER);
|
(void) tee_fputs("\n", PAGER);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user