]> git.pld-linux.org Git - packages/eventum.git/commitdiff
- set memory limit while running upgrade scripts
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 18 Jul 2006 12:05:14 +0000 (12:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eventum-upgrade.sh -> 1.5

eventum-upgrade.sh

index 323f51fe8ac6673f304cb87dbdcaeeda46f6e381..c81915466513c3bb5fbce1004c10aeb83e65acde 100644 (file)
@@ -12,7 +12,7 @@ upgrade_script() {
        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".
This page took 0.043702 seconds and 4 git commands to generate.