/[smecontribs]/rpms/smeserver-mysql55/contribs8/smeserver-mysql55-1.0.0-SME10099-prebackupdump.patch
ViewVC logotype

Contents of /rpms/smeserver-mysql55/contribs8/smeserver-mysql55-1.0.0-SME10099-prebackupdump.patch

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


Revision 1.1 - (show annotations) (download)
Sat Feb 18 14:03:39 2017 UTC (7 years, 8 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-mysql55-1_0_0-7_el5_sme, smeserver-mysql55-1_0_0-6_el5_sme, HEAD
* Sat Feb 18 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-6.sme
- fix failure to dump mysql55 table on pre-backup event [SME: 1099]
- add direct integration to phpmyadmin [SME: 10095]

1 diff -Nur smeserver-mysql55-2.0.0.old/root/etc/e-smith/events/actions/mysql55-dump-tables smeserver-mysql55-2.0.0/root/etc/e-smith/events/actions/mysql55-dump-tables
2 --- smeserver-mysql55-2.0.0.old/root/etc/e-smith/events/actions/mysql55-dump-tables 2014-03-15 12:34:16.000000000 -0400
3 +++ smeserver-mysql55-2.0.0/root/etc/e-smith/events/actions/mysql55-dump-tables 2017-02-18 08:50:53.225000000 -0500
4 @@ -8,5 +8,5 @@
5 fi
6 for db in $(/opt/rh/mysql55/root/usr/bin/mysql --socket=/var/lib/mysql/mysql55.sock -BNre "show databases;")
7 do
8 - /opt/rh/mysql55/root/usr/bin/mysqldump --socket=/var/lib/mysql/mysql55.sock --add-drop-table -QB "$db" -r /home/e-smith/db/mysql55/"$db".dump || exit 1
9 + /opt/rh/mysql55/root/usr/bin/mysqldump --single-transaction --socket=/var/lib/mysql/mysql55.sock --add-drop-table -QB "$db" -r /home/e-smith/db/mysql55/"$db".dump || exit 1
10 done

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