#37599 [Opn->Bgs]: PHP Hang loading a CLOB
| From: | tony2001@php.net | Date: | Tue, 30 May 2006 09:51:19 +0000 |
| Subject: | #37599 [Opn->Bgs]: PHP Hang loading a CLOB | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-97793@lists.php.net to get a copy of this message | ||
ID: 37599
Updated by: tony2001@php.net
Reported By: antonio dot pascual at es dot francetelecom dot com
-Status: Open
+Status: Bogus
Bug Type: OCI8 related
Operating System: SuSE Linux 9.1 (i586)
PHP Version: 5.1.4
New Comment:
Your patch doesn't make any sense, sorry.
You're just reading PHP_OCI_LOB_BUFFER_SIZE each time, that's all.
Please follow this report http://pecl.php.net/bugs/bug.php?id=7721,
I'm
working on it with the reporter currently.
Previous Comments:
------------------------------------------------------------------------
[2006-05-30 09:47:38] antonio dot pascual at es dot francetelecom dot
com
I have patched the file from version 1.5.4. Here is the patch
http://antback.com/doc/php/oci8_lob.c.patch
I made the changes to the file considering the differences
made since version 1.5.2, the latest release that my example works
with.
------------------------------------------------------------------------
[2006-05-30 09:16:48] tony2001@php.net
1.5.2? 1.5.3?
Please use
diff -u to generate human-readable diffs.
------------------------------------------------------------------------
[2006-05-30 09:11:06] antonio dot pascual at es dot francetelecom dot
com
OIC 10.1.0.3 and Oracle 10g Release 10.2.0.1.0.
I'm playing with the code, because with php version 1.5.2
works fine but with 1.5.3 and further don't works. I have
patched the file ext/oci8/oci8_lob.c with this:
153a154
> ub4 block_length = PHP_OCI_LOB_BUFFER_SIZE;
186a188,191
> if (requested_len < block_length) {
> requested_len = block_length;
> }
>
243a249,251
>
> requested_len = PHP_OCI_LOB_BUFFER_SIZE;
>
and works but in any case I am going to test the example
in another machine and with other version of Oracle Server.
Maybe my system has something wrong ...
Thanks.
------------------------------------------------------------------------
[2006-05-29 11:07:26] tony2001@php.net
OIC 10.1.0.3 and Oracle 9.2.0.1.0.
How about your versions ?
------------------------------------------------------------------------
[2006-05-29 11:04:44] antonio dot pascual at es dot francetelecom dot
com
Could you please tell me the Oracle client and server version you
have?
Thanks
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/37599
--
Edit this bug report at http://bugs.php.net/?id=37599&edit=1