From: Date: July 23 2006 8:41pm Subject: bk commit into 5.0 tree (msvensson:1.2234) BUG#10877 List-Archive: http://lists.mysql.com/commits/9463 X-Bug: 10877 Message-Id: <20060723184120.1C68A86DE70@localhost.localdomain> Below is the list of changes that have just been committed into a local 5.0 repository of msvensson. When msvensson does a push these changes will be propagated to the main repository and, within 24 hours after the push, to the public repository. For information on how to access the public repository see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html ChangeSet@stripped, 2006-07-23 20:41:15+02:00, msvensson@neptunus.(none) +1 -0 Bug#10877 mysqldump should use consistent last line - Add printout in write_footer to tell that mysqldump has completed writing the current file. Ex: -- MySQL dump 10.10 completed Sun Jul 23 20:37:10 2006 client/mysqldump.c@stripped, 2006-07-23 20:40:56+02:00, msvensson@neptunus.(none) +6 -0 Add printout in write_footer that will print info that mysqldump has completed writing the current file # This is a BitKeeper patch. What follows are the unified diffs for the # set of deltas contained in the patch. The rest of the patch, the part # that BitKeeper cares about, is below these diffs. # User: msvensson # Host: neptunus.(none) # Root: /home/msvensson/mysql/my50-m-bug19745 --- 1.234/client/mysqldump.c 2006-07-23 20:41:20 +02:00 +++ 1.235/client/mysqldump.c 2006-07-23 20:41:20 +02:00 @@ -565,6 +565,12 @@ static void write_footer(FILE *sql_file) fprintf(sql_file, "/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;\n"); fputs("\n", sql_file); + if (opt_comments) + { + time_t lclock= time(NULL); + fprintf(sql_file, "-- MySQL dump %s completed %s\n", + DUMP_VERSION, ctime(&lclock)); + } check_io(sql_file); } } /* write_footer */