MDL-15070 dml: recordset rewinding now forbidden - not all databases support it, sorry

This commit is contained in:
skodak
2008-10-28 12:14:09 +00:00
parent 7063c802fa
commit d669160891
6 changed files with 11 additions and 29 deletions
@@ -58,10 +58,6 @@ class pgsql_native_moodle_recordset extends moodle_recordset {
$this->current = $this->fetch_next();
}
public function rewind() {
// we can not seek, sorry - let's ignore it ;-)
}
public function valid() {
return !empty($this->current);
}