|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-05-06 08:51 UTC] mfischer@php.net
[2002-05-06 09:00 UTC] flying at dom dot natm dot ru
[2002-05-07 03:53 UTC] daniela@php.net
[2002-05-14 14:02 UTC] daniela@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 23 11:00:02 2025 UTC |
This bug is similar to already resolved bugs 14558 and 15419, but problem is still persists when there is available some code to work with BLOBs. Here is example: CREATE TABLE TEST_TABLE ( ID INTEGER NOT NULL, STR_CONTENT VARCHAR(100), BLOB_CONTENT BLOB SUB_TYPE 1 SEGMENT SIZE 80 ); $db = ibase_connect($database,$user,$password); $result = ibase_query($db,'select * from test_table'); while($row = ibase_fetch_row($result)) { $info = ibase_blob_info($row[2]); $data = ''; $blob = ibase_blob_open($bid); for($i=0;$i<$info[1];$i++) $data .= ibase_blob_get($blob,$info[2]); ibase_blob_close($blob); echo $data; }; ibase_free_result($result); ibase_close(); This code works fine, but if i remove ibase_blob_close() function call (and therefore leave BLOB open) - PHP will crash on calling ibase_close().