php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7785 ibase_trans & ibase_blob_create & ibase_query
Submitted: 2000-11-13 12:02 UTC Modified: 2000-11-27 07:49 UTC
From: shulya at sputnikmedia dot net Assigned:
Status: Closed Package: InterBase related
PHP Version: 4.0.3pl1 OS: Linux RedHat 6.2
Private report: No CVE-ID: None
 [2000-11-13 12:02 UTC] shulya at sputnikmedia dot net
simply don't work if I create query with blob param

$blob_id = ibase_blob_create($ib_link);
ibase_blob_add( $blob_id, $my_string );
$blob_str = ibase_blob_close($blob_id);

ibase_query("INSERT INTO TABLE(..., BLOB_FIELD) VALUES (...,?)", $blob_str );

if I try to open my own transaction - php get error:
Warning: InterBase module: too many transactions on link 

but if I try to create blob field without opening transaction - I get apache error "The page cannot be displayed"

May be in ibase blob functions occured segmentation fault.

In php3 - all was ok
In php 4.0.0 - ok too
But when I try to update my php - I meet this problem

Thanks

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-27 07:49 UTC] jah@php.net
Fixed in current CVS.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Mar 03 09:01:23 2021 UTC