1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

The mysql command line client ignored the --skip-column-names option

when used in conjunction with --vertical. (Bug #47147, patch by
Harrison Fisk)
This commit is contained in:
Jim Winstead
2009-09-21 15:20:14 -07:00
parent 5051100a1a
commit fecdb6a384
3 changed files with 15 additions and 4 deletions

View File

@@ -3510,7 +3510,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;