mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Merge approved bug fix
This commit is contained in:
commit
dd1378c8ff
3 changed files with 15 additions and 3 deletions
|
@ -3524,7 +3524,8 @@ print_table_data_vertically(MYSQL_RES *result)
|
|||
for (uint off=0; off < mysql_num_fields(result); off++)
|
||||
{
|
||||
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])
|
||||
{
|
||||
unsigned int i;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue