/[smeserver]/rpms/e-smith-mysql/sme7/e-smith-mysql-1.12.0.disabled_pre_backup.patch
ViewVC logotype

Annotation of /rpms/e-smith-mysql/sme7/e-smith-mysql-1.12.0.disabled_pre_backup.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Jun 12 15:47:45 2007 UTC (17 years ago) by slords
Branch: MAIN
CVS Tags: e-smith-mysql-1_12_0-15_el4_sme, e-smith-mysql-1_12_0-14_el4_sme
Import on branch sme7 of package e-smith-mysql-1.12.0-14.el4.sme.src.rpm

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' e-smith-mysql-1.12.0/root/etc/e-smith/events/actions/mysql-dump-tables mezzanine_patched_e-smith-mysql-1.12.0/root/etc/e-smith/events/actions/mysql-dump-tables
2     --- e-smith-mysql-1.12.0/root/etc/e-smith/events/actions/mysql-dump-tables 2006-03-16 01:44:28.000000000 -0500
3     +++ mezzanine_patched_e-smith-mysql-1.12.0/root/etc/e-smith/events/actions/mysql-dump-tables 2006-09-25 10:55:04.000000000 -0400
4     @@ -1,4 +1,10 @@
5     #!/bin/sh
6    
7     +status=$(/sbin/e-smith/config getprop mysqld status)
8     +if [ "$status" = "disabled" ]
9     +then
10     + echo "mysqld is disabled - no tables dumped" >&2
11     + exit 0
12     +fi
13     exec >/home/e-smith/db/mysql/mysql.dump
14     exec /usr/bin/mysqldump --add-drop-table -A -Q

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed