mirror of
https://github.com/dg/dibi.git
synced 2025-08-09 15:47:23 +02:00
* seek() or rowCount() in unbuffered mode throws exceptions
* out of range seek() throws exception * deprecated DibiDriver::errorInfo * fixed seek(0) on first iteration * added DibiDatabaseException::catchError() & restore() for converting errors to exceptions
This commit is contained in:
@@ -74,7 +74,7 @@ final class DibiResultIterator implements Iterator
|
||||
public function rewind()
|
||||
{
|
||||
$this->pointer = 0;
|
||||
@$this->result->seek($this->offset);
|
||||
$this->result->seek($this->offset);
|
||||
$this->row = $this->result->fetch();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user