Remove --skip-comments from first mysqldump cmdline

Fix what has been broken in r10823: the "Dump completed on"
is present iff "--skip-comments" option is not used.

From: Michael Prokop <mprokop@sipwise.com>
ksolomko/vlan
Michael Prokop 13 years ago
parent e1c8e6cd4f
commit 2542f22baa

@ -1285,7 +1285,7 @@ upload_db_dump() {
# actually dumping it for committing it to VCS we need to dump it once without
# the "--skip-comments" option, do the check on that and then really dump it
# later...
if ! chroot $TARGET mysqldump --add-drop-database --skip-comments -B $databases > /dump.db ; then
if ! chroot $TARGET mysqldump --add-drop-database -B $databases > /dump.db ; then
echo "Error while dumping mysql databases." >&2
exit 1
fi

Loading…
Cancel
Save