Merge approved bug fix
This commit is contained in:
commit
dd1378c8ff
@ -3524,6 +3524,7 @@ 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);
|
||||||
|
if (column_names)
|
||||||
tee_fprintf(PAGER, "%*s: ",(int) max_length,field->name);
|
tee_fprintf(PAGER, "%*s: ",(int) max_length,field->name);
|
||||||
if (cur[off])
|
if (cur[off])
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user