From: moodler Date: Sat, 31 Jan 2004 15:33:12 +0000 (+0000) Subject: Upgrade process can be long, so flush regularly X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b56fad0b509ed035f0751aac6e825c568b1af736;p=moodle.git Upgrade process can be long, so flush regularly --- diff --git a/lib/db/mysql.php b/lib/db/mysql.php index 0064c24fd1..cfd589505b 100644 --- a/lib/db/mysql.php +++ b/lib/db/mysql.php @@ -656,6 +656,7 @@ function main_upgrade($oldversion=0) { } } } + flush(); } } } diff --git a/lib/db/postgres7.php b/lib/db/postgres7.php index ee402e341c..684b8b8c18 100644 --- a/lib/db/postgres7.php +++ b/lib/db/postgres7.php @@ -402,6 +402,7 @@ function main_upgrade($oldversion=0) { } } } + flush(); } } }