[MDEV-15538] '-N' Produce html output wrong Created: 2018-03-10  Updated: 2019-03-22  Resolved: 2019-03-21

Status: Closed
Project: MariaDB Server
Component/s: Scripts & Clients
Affects Version/s: 5.5, 10.0, 10.1, 10.2, 10.3
Fix Version/s: 10.2.23, 5.5.64, 10.1.39, 10.3.14, 10.4.4

Type: Bug Priority: Minor
Reporter: Luuk Assignee: Sergey Vojtovich
Resolution: Fixed Votes: 0
Labels: beginner-friendly, upstream
Environment:

mysql Ver 15.1 Distrib 10.0.33-MariaDB, for Linux (x86_64) using readline 5.1



 Description   

Output of:
mysql -NHBe "select 1"
is:

<TABLE BORDER=1><TR><TR><TD>1</TD></TR></TABLE>

Which is one time tooo many a

<TR>



 Comments   
Comment by Elena Stepanova [ 2018-03-10 ]

Reproducible on all of MariaDB 5.5-10.3 and MySQL 5.5-8.0

Comment by Luuk [ 2018-03-10 ]

Sorry, the title of this bug-report is wrong!
It should have been:
the option ' -N, --skip-column-names' does not delete the compleat header of the table

Comment by Chris Calender (Inactive) [ 2019-02-08 ]

I submitted the fix for this here:

https://github.com/MariaDB/server/pull/1167

Comment by Chris Calender (Inactive) [ 2019-02-11 ]

Removed the above and new fix is here (updated mysql.test and mysql.result, along with original mysql.cc):

https://github.com/MariaDB/server/pull/1174

Comment by Luuk [ 2019-03-22 ]

I will see if i can test this weekend, (or at least within the 376 days it took to solve this....)

Generated at Thu Feb 08 08:22:05 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.