diff options
| author | Damien Regad <dregad@mantisbt.org> | 2023-04-15 13:03:39 +0200 |
|---|---|---|
| committer | Damien Regad <dregad@mantisbt.org> | 2023-04-15 13:03:39 +0200 |
| commit | 5651747a61de6c04f5f61c3c3ea1eec3b44ecadc (patch) | |
| tree | 54bb091da778e61219e1cd48741a00e8660a84fb /adodb-lib.inc.php | |
| parent | 1c54b3df5a0e1e7fa03eae6f83bb3e214629f4dc (diff) | |
| download | adodb-5651747a61de6c04f5f61c3c3ea1eec3b44ecadc.tar.gz adodb-5651747a61de6c04f5f61c3c3ea1eec3b44ecadc.tar.bz2 adodb-5651747a61de6c04f5f61c3c3ea1eec3b44ecadc.zip | |
Remove invalid _maxRecordCount assignment
$_maxRecordCount does not make sense in ADOConnection context, it is a
property of ADORecordSet.
The value is already and correctly set before returning the RecordSet at
the end of _adodb_pageexecute_all_rows().
Fixes #954
Diffstat (limited to 'adodb-lib.inc.php')
| -rw-r--r-- | adodb-lib.inc.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/adodb-lib.inc.php b/adodb-lib.inc.php index a0836f42..90b8b9d6 100644 --- a/adodb-lib.inc.php +++ b/adodb-lib.inc.php @@ -537,7 +537,6 @@ function _adodb_pageexecute_all_rows($zthis, $sql, $nrows, $page, $inputarr=fals $qryRecs = _adodb_getcount($zthis,$sql,$inputarr,$secs2cache); $lastpageno = (int) ceil($qryRecs / $nrows); - $zthis->_maxRecordCount = $qryRecs; // Check whether $page is the last page or if we are trying to retrieve // a page number greater than the last one. |
