]> git.mjollnir.org Git - moodle.git/commitdiff
merged, changed recordsize to 50
authortoyomoyo <toyomoyo>
Thu, 8 Jun 2006 02:46:45 +0000 (02:46 +0000)
committertoyomoyo <toyomoyo>
Thu, 8 Jun 2006 02:46:45 +0000 (02:46 +0000)
admin/utfdbmigrate.php
lib/db/migrate2utf8.php

index 548ff5af43a3df2efdc0a7b2da7261903b7c265f..176b64f3e1b68efb6bad446db084da20c4e39bf7 100755 (executable)
@@ -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
index e5c2221f3148565ca21caf31fc81b46bbee04359..19a8e5e5c9e7f7121b0a9b2ad22dbd10d6de01c1 100755 (executable)
@@ -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