Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
8049c695
Commit
8049c695
authored
Oct 03, 2007
by
gshchepa/uchum@gleb.loc
Browse files
Options
Browse Files
Download
Plain Diff
Merge gleb.loc:/home/uchum/work/bk/5.0-opt-31077
into gleb.loc:/home/uchum/work/bk/5.0-opt
parents
c3ffd4ac
c81751ad
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
6 deletions
+21
-6
client/mysqldump.c
client/mysqldump.c
+1
-1
mysql-test/r/mysqldump.result
mysql-test/r/mysqldump.result
+14
-2
mysql-test/t/mysqldump.test
mysql-test/t/mysqldump.test
+6
-3
No files found.
client/mysqldump.c
View file @
8049c695
...
@@ -634,7 +634,7 @@ static void write_footer(FILE *sql_file)
...
@@ -634,7 +634,7 @@ static void write_footer(FILE *sql_file)
time_str
);
time_str
);
}
}
else
else
fprintf
(
sql_file
,
"-- Dump completed"
);
fprintf
(
sql_file
,
"-- Dump completed
\n
"
);
}
}
check_io
(
sql_file
);
check_io
(
sql_file
);
}
}
...
...
mysql-test/r/mysqldump.result
View file @
8049c695
...
@@ -3548,11 +3548,23 @@ DROP TABLE t1,t2;
...
@@ -3548,11 +3548,23 @@ DROP TABLE t1,t2;
# "Dump completed on"
# "Dump completed on"
#
#
# --skip-dump-date:
# --skip-dump-date:
--
-- Dump completed
-- Dump completed
# --dump-date:
# --dump-date:
-- Dump completed on -- ::
--
-- Dump completed on x-x-x x:x:x
# --dump-date (default):
# --dump-date (default):
-- Dump completed on -- ::
--
-- Dump completed on x-x-x x:x:x
#
#
# End of 5.0 tests
# End of 5.0 tests
#
#
mysql-test/t/mysqldump.test
View file @
8049c695
...
@@ -1582,13 +1582,16 @@ DROP TABLE t1,t2;
...
@@ -1582,13 +1582,16 @@ DROP TABLE t1,t2;
--
echo
#
--
echo
#
--
echo
# --skip-dump-date:
--
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:
--
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):
--
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
#
--
echo
# End of 5.0 tests
--
echo
# End of 5.0 tests
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment