File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -3754,9 +3754,10 @@ print_table_data_html(MYSQL_RES *result)
37543754 MYSQL_FIELD *field;
37553755
37563756 mysql_field_seek (result,0 );
3757- (void ) tee_fputs (" <TABLE BORDER=1><TR> " , PAGER);
3757+ (void ) tee_fputs (" <TABLE BORDER=1>" , PAGER);
37583758 if (column_names)
37593759 {
3760+ (void ) tee_fputs (" <TR>" , PAGER);
37603761 while ((field = mysql_fetch_field (result)))
37613762 {
37623763 tee_fputs (" <TH>" , PAGER);
Original file line number Diff line number Diff line change @@ -613,3 +613,7 @@ count(*)
6136130
614614truncate table t1;
615615drop table t1;
616+ #
617+ # MDEV-15538 '-N' Produce html output wrong
618+ #
619+ <TABLE BORDER=1><TR><TD>1</TD></TR></TABLE>
Original file line number Diff line number Diff line change @@ -678,3 +678,9 @@ select count(*) from t1; truncate table t1;
678678--exec $MYSQL --disable-local-infile -e "/*q*/$ldli"
679679select count(*) from t1; truncate table t1;
680680drop table t1;
681+
682+
683+ --echo #
684+ --echo # MDEV-15538 '-N' Produce html output wrong
685+ --echo #
686+ --exec $MYSQL -NHe "select 1 as a"
You can’t perform that action at this time.
0 commit comments