ID:               38192
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mail at asger dot dk
-Status:           Open
+Status:           Feedback
 Bug Type:         ODBC related
 Operating System: Windows XP
 PHP Version:      5.1.4
 New Comment:

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


We don't know how to debug something we can't reproduce either.


Previous Comments:
------------------------------------------------------------------------

[2006-07-23 18:55:58] mail at asger dot dk

Description:
------------
I have a script connecting to a Sybase Adaptive Server Anywhere 9. I
iterate through the resultset like this:

while($row = odbc_fetch_array($res)) {
...
}

Sometimes when I try to fetch a large resultset the odbc_fetch_array
returns false and the loop stops when there are more rows. The only way
I can fetch all rows is to set the second argument to odbc_fetch_array
where I force the function  to fetch a specific row. To get the actual
number of rows I have to run a sql and count the number of rows before
I get the resultset.

I'm not sure that this is a PHP problem, it could be the odbc driver or
something else. But I don't know how to solve the problem or debug it
further.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=38192&edit=1

Reply via email to