summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorchriscalender <chriscalender@gmail.com>2019-02-10 15:48:12 -0500
committerSergey Vojtovich <svoj@mariadb.org>2019-03-22 01:01:59 +0400
commitf00e25b4c4dee75d0bc3d8f3027ff1e9c8c5368b (patch)
treed09dc79564388f5c0957d7a8ce2e6a41d41f959a /client
parent0dd12b4f2a72245a0fb491685c172a7b0e48cbc5 (diff)
downloadmariadb-git-f00e25b4c4dee75d0bc3d8f3027ff1e9c8c5368b.tar.gz
Fix for MDEV-15538, '-N' Produce html output wrong
Diffstat (limited to 'client')
-rw-r--r--client/mysql.cc3
1 files changed, 2 insertions, 1 deletions
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("<TABLE BORDER=1><TR>", PAGER);
+ (void) tee_fputs("<TABLE BORDER=1>", PAGER);
if (column_names)
{
+ (void) tee_fputs("<TR>", PAGER);
while((field = mysql_fetch_field(result)))
{
tee_fputs("<TH>", PAGER);