From b56fad0b509ed035f0751aac6e825c568b1af736 Mon Sep 17 00:00:00 2001 From: moodler Date: Sat, 31 Jan 2004 15:33:12 +0000 Subject: [PATCH] Upgrade process can be long, so flush regularly --- lib/db/mysql.php | 1 + lib/db/postgres7.php | 1 + 2 files changed, 2 insertions(+) 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(); } } } -- 2.39.5