Bug #73002 [Com]: bigendian64/php7/oci8: output bind-variables doesn't work

From: Date: Fri, 11 Aug 2017 05:12:36 +0000
Subject: Bug #73002 [Com]: bigendian64/php7/oci8: output bind-variables doesn't work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-210591@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73002&edit=1

 ID:                 73002
 Comment by:         sanjayrbhabhor at gmail dot com
 Reported by:        lzsiga at freemail dot c3 dot hu
 Summary:            bigendian64/php7/oci8: output bind-variables doesn't
                     work
 Status:             Open
 Type:               Bug
 Package:            OCI8 related
 Operating System:   64-bit / BigEndian
 PHP Version:        7.*
 Block user comment: N
 Private report:     N

 New Comment:

We are  facing same issue with php-7.1.7, Apache -2.4.27 on power 7 AIX 7.1 64 bit. We had  added
patch but it doesn't seem to work. Same "ORA-03131: an invalid buffer was provided for the
next piece" error is giving.

Kindly help.


Previous Comments:
------------------------------------------------------------------------
[2017-08-10 13:08:25] lzsiga at freemail dot c3 dot hu

Ok, my fault; now I created a new patch with 'diff -c' for version 7.1.8

------------------------------------------------------------------------
[2017-08-10 09:12:11] lzsiga at freemail dot c3 dot hu

The changes in 7.1.8 rendered my patch unusable: the input-bind variables lose their content (guess
their length become zero). Non-using my patch doesn't help, in that case oci_execute end is in
ORA-3113 (disconnect). [Platform AIX, PowerPC/64-bit big-endian, Oracle client 12.1]

------------------------------------------------------------------------
[2017-05-02 15:26:14] velazquez dot pascual at ciime dot mx

The same problem is observed in Solaris 11.3, in Sparc architecture. The proposed patch works. 

Thank you very much for posting the patch.

------------------------------------------------------------------------
[2017-04-28 08:34:31] lzsiga at freemail dot c3 dot hu

Moved the patch to versiom 7.1.4

------------------------------------------------------------------------
[2016-09-16 10:29:39] lzsiga at freemail dot c3 dot hu

Modified the patch to match version 7.0.11

------------------------------------------------------------------------


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

    https://bugs.php.net/bug.php?id=73002


--
Edit this bug report at https://bugs.php.net/bug.php?id=73002&edit=1


Thread (29 messages)

« previous php.bugs (#210591) next »