mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Fixing infinite loop in AdoDB when trying to get result sets with more than on result. Fixes #5846
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7908 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
48119947b8
commit
930a2d954f
1 changed files with 1 additions and 0 deletions
|
@ -416,6 +416,7 @@ class DboAdodb extends DboSource {
|
|||
function fetchResult() {
|
||||
if (!empty($this->results)) {
|
||||
$row = $this->results;
|
||||
$this->results = null;
|
||||
} else {
|
||||
$row = $this->_result->FetchRow();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue