From: stronk7 Date: Sun, 22 Oct 2006 22:58:29 +0000 (+0000) Subject: Killing all sql_paging_limit() uses X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=55d3af6f3a6724f50d6c2603fa825f71faf5cc29;p=moodle.git Killing all sql_paging_limit() uses Merged from MOODLE_17_STABLE --- diff --git a/lib/db/migrate2utf8.php b/lib/db/migrate2utf8.php index dffbc9f89b..f6af8e4a7e 100755 --- a/lib/db/migrate2utf8.php +++ b/lib/db/migrate2utf8.php @@ -71,8 +71,8 @@ function migrate2utf8_user($fields, $crash, $debug, $maxrecords, $done, $tablest } while ($counter < $totalrecords) { //while there is still something - $SQL = 'SELECT * FROM '.$CFG->prefix.'user ORDER BY id ASC '.sql_paging_limit($counter, $recordsetsize); - if ($records = get_records_sql($SQL)) { + $SQL = 'SELECT * FROM '.$CFG->prefix.'user 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.