mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Fix for MDEV-15538, '-N' Produce html output wrong
This commit is contained in:
committed by
Sergey Vojtovich
parent
0dd12b4f2a
commit
f00e25b4c4
@@ -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);
|
||||
|
Reference in New Issue
Block a user