[geeklog-cvs] geeklog-1.3/public_html/admin database.php,1.8,1.9
geeklog-cvs-admin at lists.geeklog.net
geeklog-cvs-admin at lists.geeklog.net
Wed Apr 9 11:07:09 EDT 2003
Update of /usr/cvs/geeklog/geeklog-1.3/public_html/admin
In directory internal.geeklog.net:/tmp/cvs-serv20654
Modified Files:
database.php
Log Message:
Added mysqldump -Q option to insert quotes around table names (as suggested by bug report #712901).
Index: database.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/admin/database.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** database.php 27 Mar 2003 09:39:51 -0000 1.8
--- database.php 9 Apr 2003 15:07:07 -0000 1.9
***************
*** 64,70 ****
$backupfile = "{$_CONF['backup_path']}geeklog_db_backup_{$curdatetime}.sql";
if (!empty($_DB_pass)) {
! $command = $_DB_mysqldump_path . " -h$_DB_host -u$_DB_user -p$_DB_pass $_DB_name > {$backupfile}";
} else {
! $command = $_DB_mysqldump_path . " -h$_DB_host -u$_DB_user $_DB_name > {$backupfile}";
}
if (function_exists ('is_executable')) {
--- 64,70 ----
$backupfile = "{$_CONF['backup_path']}geeklog_db_backup_{$curdatetime}.sql";
if (!empty($_DB_pass)) {
! $command = $_DB_mysqldump_path . " -h$_DB_host -u$_DB_user -p$_DB_pass -Q $_DB_name > {$backupfile}";
} else {
! $command = $_DB_mysqldump_path . " -h$_DB_host -u$_DB_user -Q $_DB_name > {$backupfile}";
}
if (function_exists ('is_executable')) {
More information about the geeklog-cvs
mailing list