SOURCES: eventum-upgrade.sh - set memory limit while running upgra...

glen glen at pld-linux.org
Tue Jul 18 14:05:20 CEST 2006


Author: glen                         Date: Tue Jul 18 12:05:20 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- set memory limit while running upgrade scripts

---- Files affected:
SOURCES:
   eventum-upgrade.sh (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SOURCES/eventum-upgrade.sh
diff -u SOURCES/eventum-upgrade.sh:1.4 SOURCES/eventum-upgrade.sh:1.5
--- SOURCES/eventum-upgrade.sh:1.4	Thu Dec 29 21:36:50 2005
+++ SOURCES/eventum-upgrade.sh	Tue Jul 18 14:05:14 2006
@@ -12,7 +12,7 @@
 	script="$1"; shift
 
 	echo -n "Eventum upgrade: $@..."
-	if ! php $scriptdir/$script; then
+	if ! php -dmemory_limit=256M $scriptdir/$script; then
 		echo >&2 ""
 		echo >&2 "Please run manually: php $scriptdir/$script"
 		echo >&2 "NOTE: You might need to add CREATE, DROP, ALTER and INDEX privileges to Eventum MySQL user for this to work".
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/eventum-upgrade.sh?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list