ID: 31222 User updated by: amonw at hotmail dot com Reported By: amonw at hotmail dot com Status: Assigned Bug Type: OCI8 related Operating System: redhat linux 7.2 PHP Version: 4.3.10 Assigned To: tony2001 New Comment:
Thank you for your help. But can you explain why the 4 methods I listed in the first comment can change the result? And why can't I add "ocilogoff($c)" before the second ocilogon to change the result? Previous Comments: ------------------------------------------------------------------------ [2004-12-23 18:16:12] [EMAIL PROTECTED] You need to use ocinlogon() in this case, because you have 2 similar connections (which are indeed ONE connection) messing around. One of these connections still needs commit and gets rollback'ed at the end of the script execution and one of them doesn't. So, this is quite expected. There is another problem: this issue doesn't exist in PHP5 ocilogon()/oci_connect() because behaves similar to ocinlogon()/oci_new_connect() and returns exclusive connection descriptor. This is not the intended behaviour and I'll investigate who and why changed it. ------------------------------------------------------------------------ [2004-12-23 13:26:48] amonw at hotmail dot com Just in case, did you receive my email with a test account? I sent it about 8 hours ago. ------------------------------------------------------------------------ [2004-12-22 10:01:10] [EMAIL PROTECTED] Thanks, it would be very nice. ------------------------------------------------------------------------ [2004-12-22 09:19:32] amonw at hotmail dot com I tried compiling oci8 statically and it produced the same result. I'm building a test system. After I finish it, I'll send you a telnet account to test, if you're willing to. ------------------------------------------------------------------------ [2004-12-21 15:05:16] [EMAIL PROTECTED] Yes, I tried to run exactly your code, with one modification: I changed login & password. 4.2.2 is too old to talk about, try PHP 5.0.3 instead, if you can. Also, it would be nice if you try to compile OCI8 module statically and to run the same code with it. ------------------------------------------------------------------------ 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/31222 -- Edit this bug report at http://bugs.php.net/?id=31222&edit=1