Commit 1e9a02c9 authored by Jim Winstead's avatar Jim Winstead

The mysql command-line client would include superfluous spaces at the end of

some result set lines. (Bug #29622)
parent 50e7c391
...@@ -3319,6 +3319,9 @@ print_table_data(MYSQL_RES *result) ...@@ -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) ...@@ -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);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment