/[smeserver]/rpms/e-smith-mysql/sme9/e-smith-mysql-2.4.0-preBackup.patch
ViewVC logotype

Contents of /rpms/e-smith-mysql/sme9/e-smith-mysql-2.4.0-preBackup.patch

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


Revision 1.1 - (show annotations) (download)
Thu Mar 21 01:04:06 2013 UTC (11 years, 7 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-mysql-2_4_0-5_el6_sme, e-smith-mysql-2_4_0-8_el6_sme, e-smith-mysql-2_4_0-7_el6_sme, e-smith-mysql-2_4_0-4_el6_sme, e-smith-mysql-2_4_0-6_el6_sme, e-smith-mysql-2_4_0-9_el6_sme, HEAD
* Wed Mar 20 2013 Ian Wells <esmith@wellsi.com> 2.4.0-4.sme
- Use --single-transaction in mysql-dump-tables [SME: 7497]

1 diff -up e-smith-mysql-2.4.0/root/etc/e-smith/events/actions/mysql-dump-tables.preBackup e-smith-mysql-2.4.0/root/etc/e-smith/events/actions/mysql-dump-tables
2 --- e-smith-mysql-2.4.0/root/etc/e-smith/events/actions/mysql-dump-tables.preBackup 2013-03-20 17:05:10.000000000 -0700
3 +++ e-smith-mysql-2.4.0/root/etc/e-smith/events/actions/mysql-dump-tables 2008-10-06 07:29:16.000000000 -0700
4 @@ -8,5 +8,5 @@ then
5 fi
6 for db in $(mysql -BNre "show databases;")
7 do
8 - mysqldump --add-drop-table -QB "$db" -r /home/e-smith/db/mysql/"$db".dump || exit 1
9 + mysqldump --single-transaction --add-drop-table -QB "$db" -r /home/e-smith/db/mysql/"$db".dump || exit 1
10 done

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