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

From: Date: Thu, 10 Aug 2017 13:08:29 +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-210584@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:         lzsiga at freemail dot c3 dot hu
 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:

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


Previous Comments:
------------------------------------------------------------------------
[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

------------------------------------------------------------------------
[2016-09-08 10:35:38] lzsiga at freemail dot c3 dot hu

Hi, I had to add some lines to prevent destruction of 'IN-only' bind variables. (I think
'php_oci_bind' should be reorganized, field 'dummy_len' replaced with fields
'maximum_len', 'before_exec_len' and 'after_exec_len'. Also it should
be tracked in a boolean field if 'bind_out_callback' has been called on the field or not.
If not, the bind-variable shouldn't be changed in 'bind_post_exec')

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


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 (#210584) next »