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

Annotation of /rpms/e-smith-mysql/sme9/e-smith-mysql-2.4.0-ignore_event_table.patch

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


Revision 1.1 - (hide annotations) (download)
Thu Jun 6 17:17:30 2013 UTC (11 years, 4 months ago) by vip-ire
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-6_el6_sme, e-smith-mysql-2_4_0-9_el6_sme, HEAD
* Thu Jun 6 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-5.sme
- Ignore mysql.event table [SME: 7603]

1 vip-ire 1.1 diff -Nur e-smith-mysql-2.4.0/root/etc/e-smith/events/actions/mysql-dump-tables e-smith-mysql-2.4.0-ignore_event_table/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 2013-06-06 19:04:40.533078211 +0200
3     +++ e-smith-mysql-2.4.0-ignore_event_table/root/etc/e-smith/events/actions/mysql-dump-tables 2013-06-06 19:05:20.280695039 +0200
4     @@ -8,5 +8,5 @@
5     fi
6     for db in $(mysql -BNre "show databases;")
7     do
8     - mysqldump --single-transaction --add-drop-table -QB "$db" -r /home/e-smith/db/mysql/"$db".dump || exit 1
9     + mysqldump --ignore-table=mysql.event --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