#19075 [Opn->Fbk]: rows repeat in result

From: Date: Fri, 23 Aug 2002 18:49:55 +0000
Subject: #19075 [Opn->Fbk]: rows repeat in result
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17690@lists.php.net to get a copy of this message
ID: 19075 Updated by: georg@php.net Reported By: tho@e-dict.net -Status: Open +Status: Feedback Bug Type: Adabas-D related Operating System: Linux PHP Version: 4.2.1 New Comment: Could you add a little script (and the database definition) please. Previous Comments: ------------------------------------------------------------------------ [2002-08-23 11:40:58] tho@e-dict.net that's short what I do: $sql = "select * from table a"; odbc_execute... while (odbc_fetch_into...) { print_r($row); } the first rows are correct but then fetch_into returns the same row over and over again until num_rows is reached. the longer the row the faster this happens, looks like a static buffer. The result is something like this rowid field1 field2 1 1 2 2 3 3 . . . 60 60 content60 61 60 content60 62 60 content60 The behaviour is hard to explain and there are enough cases where everything is just fine even with really lot of rows. the error happens with adabas 12 and we have trouble with this with adabas 11 and php 3.0.7 too. is this a php-bug or is there an option to increase a buffer or is this a bug in adabas' odbc-library? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19075&edit=1

« previous php.bugs (#17690) next »