summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <vicentiu@mariadb.org>2017-03-06 21:50:42 +0200
committerVicențiu Ciorbaru <vicentiu@mariadb.org>2017-03-06 21:50:42 +0200
commitc4f3e64c23fe7f7fd18c0a79f87f9771df15fe9f (patch)
tree19228b51e768f8f6137e765b3cadc4fa9aa67540 /client
parent29c776cfd1e560846e394f39d79ae43ff7d70c61 (diff)
parentdc1c9e69d0fbb531a25cb7cf957c1477135eae70 (diff)
downloadmariadb-git-c4f3e64c23fe7f7fd18c0a79f87f9771df15fe9f.tar.gz
Merge branch 'bb-10.0-vicentiu' into 10.0mariadb-10.0.30
Diffstat (limited to 'client')
-rw-r--r--client/mysqldump.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c
index 64ed21ac7fc..27aeea5a7b3 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -698,8 +698,9 @@ static void write_header(FILE *sql_file, char *db_name)
"-- MySQL dump %s Distrib %s, for %s (%s)\n--\n",
DUMP_VERSION, MYSQL_SERVER_VERSION, SYSTEM_TYPE,
MACHINE_TYPE);
- print_comment(sql_file, 0, "-- Host: %s Database: %s\n",
- fix_for_comment(current_host ? current_host : "localhost"),
+ print_comment(sql_file, 0, "-- Host: %s ",
+ fix_for_comment(current_host ? current_host : "localhost"));
+ print_comment(sql_file, 0, "Database: %s\n",
fix_for_comment(db_name ? db_name : ""));
print_comment(sql_file, 0,
"-- ------------------------------------------------------\n"