PHP 4.0 Bug #4296: OCIBindByName core dumps

From: Date: Tue, 02 May 2000 15:29:21 +0000
Subject: PHP 4.0 Bug #4296: OCIBindByName core dumps
Groups: php.dev 
Request: Send a blank email to php-dev+get-18353@lists.php.net to get a copy of this message
From: doussot@gifrance.com Operating system: Linux PHP version: 4.0 Release Candidate 1 PHP Bug Type: Oracle related Bug description: OCIBindByName core dumps Linux + Oracle 8.1.5.0.2 The following block works: $query = "INSERT INTO messages VALUES ($num, :msg_body)"; $msg_body = stripslashes($msg_body); $stmt = OCIParse($cnx, $query); OCIBindByName($stmt, ":msg_body", &$msg_body, -1); OCIExecute($stmt); Replacting the 4th line by: OCIBindByName($stmt, ":msg_body", &$msg_body, -1, OCI_B_CLOB); My oracle table has a CLOB field (for msg_body). This first statement works as long as strlen($msg_body) < 32067. I suppose I need the second one to fix my length problem but then Apache core dumps. Trying to get a trace ...

« previous php.dev (#18353) next »