PHP 4.0 Bug #7306 Updated: segfault when binding undefined php variable with a BLOB hostvar

From: Date: Wed, 18 Oct 2000 09:21:45 +0000
Subject: PHP 4.0 Bug #7306 Updated: segfault when binding undefined php variable with a BLOB hostvar
Groups: php.dev 
Request: Send a blank email to php-dev+get-35379@lists.php.net to get a copy of this message
ID: 7306 Updated by: sniper Reported By: alex@zend.com Status: Duplicate Bug Type: OCI8 related Assigned To: Comments: Previous Comments: --------------------------------------------------------------------------- [2000-10-18 05:02:37] 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); ?> --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7306

« previous php.dev (#35379) next »