Loading client/mysqldump.c +1 −1 Original line number Diff line number Diff line Loading @@ -634,7 +634,7 @@ static void write_footer(FILE *sql_file) time_str); } else fprintf(sql_file, "-- Dump completed"); fprintf(sql_file, "-- Dump completed\n"); } check_io(sql_file); } Loading mysql-test/r/mysqldump.result +14 −2 Original line number Diff line number Diff line Loading @@ -3548,11 +3548,23 @@ DROP TABLE t1,t2; # "Dump completed on" # # --skip-dump-date: -- -- Dump completed # --dump-date: -- Dump completed on -- :: -- -- Dump completed on x-x-x x:x:x # --dump-date (default): -- Dump completed on -- :: -- -- Dump completed on x-x-x x:x:x # # End of 5.0 tests # mysql-test/t/mysqldump.test +6 −3 Original line number Diff line number Diff line Loading @@ -1582,13 +1582,16 @@ DROP TABLE t1,t2; --echo # --echo # --skip-dump-date: --exec $MYSQL_DUMP --skip-dump-date test | grep 'Dump completed' --replace_regex /-- [^D][^u][^m][^p].*// /\/\*!.*// --exec $MYSQL_DUMP --skip-dump-date test --echo # --dump-date: --exec $MYSQL_DUMP --dump-date test | grep 'Dump completed' | tr -d '[0-9]' --replace_regex /-- [^D][^u][^m][^p].*// /\/\*!.*// /[0-9]+/x/ --exec $MYSQL_DUMP --dump-date test --echo # --dump-date (default): --exec $MYSQL_DUMP test | grep 'Dump completed' | tr -d '[0-9]' --replace_regex /-- [^D][^u][^m][^p].*// /\/\*!.*// /[0-9]+/x/ --exec $MYSQL_DUMP test --echo # --echo # End of 5.0 tests Loading Loading
client/mysqldump.c +1 −1 Original line number Diff line number Diff line Loading @@ -634,7 +634,7 @@ static void write_footer(FILE *sql_file) time_str); } else fprintf(sql_file, "-- Dump completed"); fprintf(sql_file, "-- Dump completed\n"); } check_io(sql_file); } Loading
mysql-test/r/mysqldump.result +14 −2 Original line number Diff line number Diff line Loading @@ -3548,11 +3548,23 @@ DROP TABLE t1,t2; # "Dump completed on" # # --skip-dump-date: -- -- Dump completed # --dump-date: -- Dump completed on -- :: -- -- Dump completed on x-x-x x:x:x # --dump-date (default): -- Dump completed on -- :: -- -- Dump completed on x-x-x x:x:x # # End of 5.0 tests #
mysql-test/t/mysqldump.test +6 −3 Original line number Diff line number Diff line Loading @@ -1582,13 +1582,16 @@ DROP TABLE t1,t2; --echo # --echo # --skip-dump-date: --exec $MYSQL_DUMP --skip-dump-date test | grep 'Dump completed' --replace_regex /-- [^D][^u][^m][^p].*// /\/\*!.*// --exec $MYSQL_DUMP --skip-dump-date test --echo # --dump-date: --exec $MYSQL_DUMP --dump-date test | grep 'Dump completed' | tr -d '[0-9]' --replace_regex /-- [^D][^u][^m][^p].*// /\/\*!.*// /[0-9]+/x/ --exec $MYSQL_DUMP --dump-date test --echo # --dump-date (default): --exec $MYSQL_DUMP test | grep 'Dump completed' | tr -d '[0-9]' --replace_regex /-- [^D][^u][^m][^p].*// /\/\*!.*// /[0-9]+/x/ --exec $MYSQL_DUMP test --echo # --echo # End of 5.0 tests Loading