From f00e25b4c4dee75d0bc3d8f3027ff1e9c8c5368b Mon Sep 17 00:00:00 2001 From: chriscalender Date: Sun, 10 Feb 2019 15:48:12 -0500 Subject: Fix for MDEV-15538, '-N' Produce html output wrong --- client/mysql.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/mysql.cc') diff --git a/client/mysql.cc b/client/mysql.cc index 624e97236aa..e035d15d809 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -3754,9 +3754,10 @@ print_table_data_html(MYSQL_RES *result) MYSQL_FIELD *field; mysql_field_seek(result,0); - (void) tee_fputs("", PAGER); + (void) tee_fputs("
", PAGER); if (column_names) { + (void) tee_fputs("", PAGER); while((field = mysql_fetch_field(result))) { tee_fputs("
", PAGER); -- cgit v1.2.1