Bug #1277: OCIDefineByName() causes Apache crash
| From: | pumuckel at metropolis dot de | Date: | Sun, 28 Mar 1999 23:21:51 +0000 |
| Subject: | Bug #1277: OCIDefineByName() causes Apache crash | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-4796@lists.php.net to get a copy of this message | ||
From: pumuckel@metropolis.de
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@lists.php.net
For help: php-dev-help@lists.php.net