ID: 30414
Updated by: [EMAIL PROTECTED]
Reported By: mikael dot suvi at trigger dot ee
-Status: Open
+Status: Assigned
Bug Type: OCI8 related
Operating System: gentoo
PHP Version: 5.0.2
-Assigned To:
+Assigned To: tony2001
Previous Comments:
------------------------------------------------------------------------
[2004-10-12 21:50:20] mikael dot suvi at trigger dot ee
Description:
------------
After experiencing several mysterious segfaults with
php-5.0.2/apache2/oracle combination under heavy load I have made the
following modifications to oci8.c file and the crashes have happily
vanished for my case.
diff oci8.c oci8.c.new
1019c1019
< if (connection->session) {
---
> if (connection->session && connection->session->explicit) {
2909c2909
< return sess1->num = sess2->num;
---
> return sess1->num == sess2->num;
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30414&edit=1