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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
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
Hide 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,7 +3524,8 @@ print_table_data_vertically(MYSQL_RES *result)
...
@@ -3524,7 +3524,8 @@ print_table_data_vertically(MYSQL_RES *result)
for
(
uint
off
=
0
;
off
<
mysql_num_fields
(
result
);
off
++
)
for
(
uint
off
=
0
;
off
<
mysql_num_fields
(
result
);
off
++
)
{
{
field
=
mysql_fetch_field
(
result
);
field
=
mysql_fetch_field
(
result
);
tee_fprintf
(
PAGER
,
"%*s: "
,(
int
)
max_length
,
field
->
name
);
if
(
column_names
)
tee_fprintf
(
PAGER
,
"%*s: "
,(
int
)
max_length
,
field
->
name
);
if
(
cur
[
off
])
if
(
cur
[
off
])
{
{
unsigned
int
i
;
unsigned
int
i
;
...
...
mysql-test/r/mysql.result
View file @
a8e039a2
...
@@ -229,4 +229,10 @@ a: b
...
@@ -229,4 +229,10 @@ a: b
</row>
</row>
</resultset>
</resultset>
drop table t1;
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');
...
@@ -407,5 +407,10 @@ insert into t1 values ('\0b\0');
--
exec
$MYSQL
--
xml
test
-
e
"select a from t1"
--
exec
$MYSQL
--
xml
test
-
e
"select a from t1"
drop
table
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