|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59827 OFFSET in `ingres_query` doesn't work
Submitted: 2011-06-23 05:50 UTC Modified: 2017-10-24 08:41 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: francesco dot daguanno at bucap dot it Assigned:
Status: Suspended Package: ingres (PECL)
PHP Version: 5.3.6 OS: Windows Server 2003 Standard Edi
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2011-06-23 05:50 UTC] francesco dot daguanno at bucap dot it
OFFSET in `ingres_query` doesn't work

Reproduce code:
$dbLink = ingres_connect($dbDatabase, $dbUsername, $dbPassword) or die("error ingres_connect"); 
$dbQuery = " SELECT field1 FROM myTable OFFSET 10"; 
$dbResult = ingres_query($dbLink, $dbQuery) or die("error ingres_query"); 

echo "ingres_num_rows: ".ingres_num_rows($dbResult)."<br>";

while ($dbRow = ingres_fetch_array($dbResult))
echo ".$dbRow["field1"]."<br>";

Expected result:
List of results starting with record number 10.

Actual result:
List of results starting with record number 1


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-10-24 08:41 UTC]
-Status: Open +Status: Suspended
 [2017-10-24 08:41 UTC]
The ingres package has not had any activity for 4 years, so its safe to say that its no longer in active development, if activity picks backup then the maintainer can re-open this report
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Dec 10 13:01:26 2023 UTC