From: stronk7 Date: Sun, 22 Oct 2006 22:49:54 +0000 (+0000) Subject: Killing all sql_paging_limit() uses X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=789ab3ff246fb38bf12aa60ad37a81d7f68f611b;p=moodle.git Killing all sql_paging_limit() uses Merged from MOODLE_17_STABLE --- diff --git a/admin/utfdbmigrate.php b/admin/utfdbmigrate.php index fd5616d458..f2ef9bce99 100755 --- a/admin/utfdbmigrate.php +++ b/admin/utfdbmigrate.php @@ -594,8 +594,8 @@ function db_migrate2utf8(){ //Eloy: Perhaps some type of limit parameter here * converting each record * **************************/ while(($counter < $totalrecords) and ($fieldname !='dummy') and ($method!='NO_CONV')) { //while there is still something - $SQL = 'SELECT * FROM '.$prefix.$dbtablename.' ORDER BY id ASC '.sql_paging_limit($counter, $recordsetsize); - if ($records = get_records_sql($SQL)) { + $SQL = 'SELECT * FROM '.$prefix.$dbtablename.' ORDER BY id ASC'; + if ($records = get_records_sql($SQL, $counter, $recordsetsize)) { foreach ($records as $record) { //if we are up this far, either no crash, or crash with same table, field name.