#19075 [NEW]: rows repeat in result
| From: | tho at e-dict dot net | Date: | Fri, 23 Aug 2002 15:40:58 +0000 |
| Subject: | #19075 [NEW]: rows repeat in result | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-17669@lists.php.net to get a copy of this message | ||
From: tho@e-dict.net
Operating system: Linux
PHP version: 4.2.1
PHP Bug Type: Adabas-D related
Bug description: rows repeat in result
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 bug report at http://bugs.php.net/?id=19075&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19075&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19075&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19075&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19075&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19075&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19075&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19075&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19075&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19075&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19075&r=globals