PHP 4.0 Bug #7305 Updated: segfault when binding undefined php variable with a BLOB hostvar
| From: | sniper@php.net | Date: | Tue, 20 Feb 2001 12:37:25 +0000 |
| Subject: | PHP 4.0 Bug #7305 Updated: segfault when binding undefined php variable with a BLOB hostvar | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-47032@lists.php.net to get a copy of this message | ||
ID: 7305
Updated by: sniper
Reported By: alex@zend.com
Old-Status: Feedback
Status: Closed
Bug Type: OCI8 related
Assigned To:
Comments:
No feedback, considered fixed.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-01-07 19:53:04] sniper@php.net
Does this happen with latest CVS now?
--Jani
---------------------------------------------------------------------------
[2000-10-18 05:00:34] alex@zend.com
<?php
$db = @ocilogon("scott", "tiger", "ZTST");
$statement = ociparse($db, "CREATE TABLE foo (blob_field BLOB)");
ociexecute($statement);
$query = "INSERT INTO foo (blob_field) " .
"VALUES (EMPTY_BLOB()) " .
"RETURNING blob_field into :blob";
$statement = ociparse($db, $query);
ocibindbyname($statement, ':blob', &$undefined, -1, OCI_B_BLOB);
$result = ociexecute($statement);
?>
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=7305&edit=2