Date: 03/28/99
- Next message: Bug Database: "[PHP-DEV] Bug #1277 Updated: OCIDefineByName() causes Apache crash"
- Previous message: steffenmail <email protected>: "[PHP-DEV] Bug #1276: OCIBindByName with DATE variable -> error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: pumuckel <email protected>
Operating system: Linux 2.0.36
PHP version: 3.0.7
PHP Bug Type: Oracle related
Bug description: OCIDefineByName() causes Apache crash
OCIDefineByName($stmt, "TITLE", &$topic) causes apache to crash.
My table looks like:
CREATE TABLE TESTTABLE
(
test1 VARCHAR(150) PRIMARY KEY,
test2 VARCHAR(50),
test3 VARCHAR(50),
title VARCHAR(255),
test4 VARCHAR(255),
.....
)
TABLESPACE SPACE;
The statement is:
OCIParse($conn, "SELECT test1,test2,test3,TITLE FROM TESTTABLE WHERE TEST1 LIKE 'A%'");
Then I call following OCI methods:
OCIDefineByName($stmt, "TEST1", &$test1);
OCIDefineByName($stmt, "TEST2", &$test2);
OCIDefineByName($stmt, "TEST3", &$test3);
OCIDefineByName($stmt, "TITLE", &$title);
On LAST OciDefineByName apache crashes. This is reproducable. If I comment out last OCI command, the rest of php3 commands are executed successfully.
(I'm running Apache_1.3.4)
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: Bug Database: "[PHP-DEV] Bug #1277 Updated: OCIDefineByName() causes Apache crash"
- Previous message: steffenmail <email protected>: "[PHP-DEV] Bug #1276: OCIBindByName with DATE variable -> error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

