mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
Bug#32350: mysqldump should show more version information in output
show version of mysqldump, release of server et al., and version of current server in mysqldumps. client/mysqldump.c: show version of mysqldump, release of server et al., and version of current server in mysqldumps.
This commit is contained in:
parent
77d786b5a0
commit
ef280203f5
1 changed files with 3 additions and 1 deletions
|
@ -477,7 +477,9 @@ static void write_header(FILE *sql_file, char *db_name)
|
|||
{
|
||||
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",
|
||||
current_host ? current_host : "localhost", db_name ? db_name :
|
||||
"");
|
||||
|
|
Loading…
Add table
Reference in a new issue