From: toyomoyo Date: Thu, 8 Jun 2006 02:46:45 +0000 (+0000) Subject: merged, changed recordsize to 50 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1c994d89f898ea7168414de27bd0a2120bc1a0f0;p=moodle.git merged, changed recordsize to 50 --- diff --git a/admin/utfdbmigrate.php b/admin/utfdbmigrate.php index 548ff5af43..176b64f3e1 100755 --- a/admin/utfdbmigrate.php +++ b/admin/utfdbmigrate.php @@ -469,7 +469,7 @@ function db_migrate2utf8(){ //Eloy: Perhaps some type of limit parameter here // could not use count_records because it addes prefix to adodb_logsql $totalrecords = count_records_sql("select count(*) from {$prefix}$dbtablename"); $counter = 0; - $recordsetsize = 4; + $recordsetsize = 50; if ($crash) { //if resuming from crash //find the number of records with id smaller than the crash id diff --git a/lib/db/migrate2utf8.php b/lib/db/migrate2utf8.php index e5c2221f31..19a8e5e5c9 100755 --- a/lib/db/migrate2utf8.php +++ b/lib/db/migrate2utf8.php @@ -44,7 +44,7 @@ function migrate2utf8_user($fields, $crash, $debug, $maxrecords) { $totalrecords = count_records_sql("select count(*) from {$CFG->prefix}user"); $counter = 0; - $recordsetsize = 4; + $recordsetsize = 50; if ($crash) { //if resuming from crash //find the number of records with id smaller than the crash id