Date: 05/02/00
- Next message: Andrei Zmievski: "[PHP-DEV] Debug messages during commit"
- Previous message: Hartmut Holzgraefe: "[PHP-DEV] cvs: /php3/functions gd.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: doussot <email protected>
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 ...
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Andrei Zmievski: "[PHP-DEV] Debug messages during commit"
- Previous message: Hartmut Holzgraefe: "[PHP-DEV] cvs: /php3/functions gd.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

