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
a8e039a2
Commit
a8e039a2
authored
Dec 17, 2009
by
Jim Winstead
Browse files
Options
Browse Files
Download
Plain Diff
Merge approved bug fix
parents
cb7ce798
fecdb6a3
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
3 deletions
+15
-3
client/mysql.cc
client/mysql.cc
+2
-1
mysql-test/r/mysql.result
mysql-test/r/mysql.result
+7
-1
mysql-test/t/mysql.test
mysql-test/t/mysql.test
+6
-1
No files found.
client/mysql.cc
View file @
a8e039a2
...
...
@@ -3524,6 +3524,7 @@ print_table_data_vertically(MYSQL_RES *result)
for
(
uint
off
=
0
;
off
<
mysql_num_fields
(
result
);
off
++
)
{
field
=
mysql_fetch_field
(
result
);
if
(
column_names
)
tee_fprintf
(
PAGER
,
"%*s: "
,(
int
)
max_length
,
field
->
name
);
if
(
cur
[
off
])
{
...
...
mysql-test/r/mysql.result
View file @
a8e039a2
...
...
@@ -229,4 +229,10 @@ a: b
</row>
</resultset>
drop table t1;
End of 5.0 tests
Bug #47147: mysql client option --skip-column-names does not apply to vertical output
*************************** 1. row ***************************
1
End of tests
mysql-test/t/mysql.test
View file @
a8e039a2
...
...
@@ -407,5 +407,10 @@ insert into t1 values ('\0b\0');
--
exec
$MYSQL
--
xml
test
-
e
"select a from t1"
drop
table
t1
;
--
echo
--
echo
Bug
#47147: mysql client option --skip-column-names does not apply to vertical output
--
echo
--
exec
$MYSQL
--
skip
-
column
-
names
--
vertical
test
-
e
"select 1 as a"
--
echo
End
of
5.0
tests
--
echo
--
echo
End
of
tests
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