diff options
author | Jim Winstead <jimw@mysql.com> | 2009-12-17 12:06:36 -0800 |
---|---|---|
committer | Jim Winstead <jimw@mysql.com> | 2009-12-17 12:06:36 -0800 |
commit | dd1378c8ff671c96318ad90e06ed28018469ac17 (patch) | |
tree | 99ec7662f52ac10cfc1f2c5bd9b5613be6193d0f /client | |
parent | a4a064a758471ae208f8215853b23ce547aa2d35 (diff) | |
parent | 8f4d1026de4fdac693da5639e5c6f3f6753075fa (diff) | |
download | mariadb-git-dd1378c8ff671c96318ad90e06ed28018469ac17.tar.gz |
Merge approved bug fix
Diffstat (limited to 'client')
-rw-r--r-- | client/mysql.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/mysql.cc b/client/mysql.cc index 9d078153a33..5e5d056d6d9 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -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; |