[geeklog-hg] geeklog: Fixed DB Backups failing with some mysql passwords. Pat...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sun Dec 29 09:56:21 EST 2013
changeset 9358:5e49407d51bf
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/5e49407d51bf
user: Tom <websitemaster at cogeco.net>
date: Sun Dec 29 09:55:25 2013 -0500
description:
Fixed DB Backups failing with some mysql passwords. Patch provided by gtgillis (bug #0001725)
diffstat:
public_html/admin/database.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 4ed4b877bcef -r 5e49407d51bf public_html/admin/database.php
--- a/public_html/admin/database.php Sun Dec 29 18:05:28 2013 +0900
+++ b/public_html/admin/database.php Sun Dec 29 09:55:25 2013 -0500
@@ -251,7 +251,7 @@
$backupfile = $_CONF['backup_path'] . $filename_mask;
$command = $_DB_mysqldump_path . " -h$_DB_host -u$_DB_user";
if (!empty($_DB_pass)) {
- $command .= " -p$_DB_pass";
+ $command .= " -p'$_DB_pass'";
}
if (!empty($_CONF['mysqldump_options'])) {
$command .= ' ' . $_CONF['mysqldump_options'];
More information about the geeklog-cvs
mailing list