Commit 309845de authored by unknown's avatar unknown

Merge mysql.com:/misc/mysql/32350/50-32350

into  mysql.com:/misc/mysql/32350/51-32350


client/mysqldump.c:
  Auto merged
parents 146b317d 8d495f57
...@@ -586,7 +586,9 @@ static void write_header(FILE *sql_file, char *db_name) ...@@ -586,7 +586,9 @@ static void write_header(FILE *sql_file, char *db_name)
{ {
if (opt_comments) if (opt_comments)
{ {
fprintf(sql_file, "-- MySQL dump %s\n--\n", DUMP_VERSION); fprintf(sql_file,
"-- MySQL dump %s Distrib %s, for %s (%s)\n--\n",
DUMP_VERSION, MYSQL_SERVER_VERSION, SYSTEM_TYPE, MACHINE_TYPE);
fprintf(sql_file, "-- Host: %s Database: %s\n", fprintf(sql_file, "-- Host: %s Database: %s\n",
current_host ? current_host : "localhost", db_name ? db_name : current_host ? current_host : "localhost", db_name ? db_name :
""); "");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment