mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
The mysql command-line client would include superfluous spaces at the end of
some result set lines. (Bug #29622)
This commit is contained in:
@ -3319,6 +3319,9 @@ print_table_data(MYSQL_RES *result)
|
||||
uint visible_length;
|
||||
uint extra_padding;
|
||||
|
||||
if (off)
|
||||
(void) tee_fputs(" ", PAGER);
|
||||
|
||||
if (cur[off] == NULL)
|
||||
{
|
||||
buffer= "NULL";
|
||||
@ -3353,7 +3356,7 @@ print_table_data(MYSQL_RES *result)
|
||||
else
|
||||
tee_print_sized_data(buffer, data_length, field_max_length+extra_padding, FALSE);
|
||||
}
|
||||
tee_fputs(" | ", PAGER);
|
||||
tee_fputs(" |", PAGER);
|
||||
}
|
||||
(void) tee_fputs("\n", PAGER);
|
||||
}
|
||||
|
Reference in New Issue
Block a user