Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
f00e25b4
Commit
f00e25b4
authored
Feb 10, 2019
by
chriscalender
Committed by
Sergey Vojtovich
Mar 22, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for MDEV-15538, '-N' Produce html output wrong
parent
0dd12b4f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
client/mysql.cc
client/mysql.cc
+2
-1
mysql-test/r/mysql.result
mysql-test/r/mysql.result
+4
-0
mysql-test/t/mysql.test
mysql-test/t/mysql.test
+6
-0
No files found.
client/mysql.cc
View file @
f00e25b4
...
...
@@ -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
);
...
...
mysql-test/r/mysql.result
View file @
f00e25b4
...
...
@@ -613,3 +613,7 @@ count(*)
0
truncate table t1;
drop table t1;
#
# MDEV-15538 '-N' Produce html output wrong
#
<TABLE BORDER=1><TR><TD>1</TD></TR></TABLE>
\ No newline at end of file
mysql-test/t/mysql.test
View file @
f00e25b4
...
...
@@ -678,3 +678,9 @@ select count(*) from t1; truncate table t1;
--exec
$MYSQL
--disable-local-infile -e "
/*q*/
$ldli
"
select count(*) from t1; truncate table t1;
drop table t1;
--echo #
--echo # MDEV-15538 '-N' Produce html output wrong
--echo #
--exec
$MYSQL
-NHe "
select
1
as
a
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment