Skip to content

Commit 08eaa56

Browse files
committed
MFH
Code: - Do scope-end release for oci_pconnect (oci8.old_oci_close_semantics=1 gives old behavior) - Fix session reuse with 10.2 client libs - Fix the Ping macro version check for 10.2 - Add type check associated with zend_list_find - Code connection re-organized for reuse - Format comments - WS changes - Prepare for new PECL release Tests: - Add new tests - Rationalize password tests - Revert use of __DIR__ so tests will work with PHP 5.2 - Update some skipifs to make tests more portable
1 parent de34e87 commit 08eaa56

27 files changed

+1231
-594
lines changed

ext/oci8/CREDITS

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
OCI8
2-
Stig Bakken, Thies C. Arntzen, Andy Sautins, David Benson, Maxim Maletsky, Harald Radi, Antony Dovgal, Andi Gutmans, Wez Furlong
2+
Stig Bakken, Thies C. Arntzen, Andy Sautins, David Benson, Maxim Maletsky, Harald Radi, Antony Dovgal, Andi Gutmans, Wez Furlong, Christopher Jones, Oracle Corporation

ext/oci8/README

+17-5
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,9 @@ these steps:
207207

208208
6.2.0 Important: if Oracle Database 11.1.0.6 with DRCP connections is
209209
used, then the Oracle database patch for bug 6474441 must be
210-
applied (see section 6.5) or a workaround below used. Without
211-
this patch, "ORA-01000: maximum open cursors exceeded", "ORA-01001
212-
invalid cursor" or "ORA-01002 fetch out of sequence" errors may
213-
occur.
210+
applied (see section 6.5). Without this patch, "ORA-01000:
211+
maximum open cursors exceeded", "ORA-01001 invalid cursor" or
212+
"ORA-01002 fetch out of sequence" errors may occur.
214213

215214
If the Oracle 11.1.0.6 database patch cannot be applied, one of
216215
the following three workarounds can be used to disable statement
@@ -325,7 +324,20 @@ Changing a password over DRCP connections will fail with the error
325324
"ORA-56609: Usage not supported with DRCP". This is an documented
326325
restriction of Oracle Database 11g.
327326

328-
6.4.2 LOGON Triggers can be used to set session properties
327+
6.4.2 Closing Connections
328+
329+
With the PHP 5.3 OCI8 Beta extension, persistent connections can now
330+
be closed by the user, allowing greater control over connection
331+
resource usage. Persistent connections will now also be closed
332+
automatically when there is no PHP variable referencing them, such as
333+
at the end of scope of a PHP user function. This will rollback any
334+
uncommitted transaction. These changes to persistent connections make
335+
them behave similarly to non-persistent connections, simplifying the
336+
interface, allowing for greater application consistency and
337+
predictability. Use oci8.old_oci_close_semantics=1 to retain the
338+
historical behavior.
339+
340+
6.4.3 LOGON Triggers can be used to set session properties
329341

330342
The patch for Oracle Database 11.1.0.6 bug 6474441 (see section 6.5)
331343
allows PHP applications with DRCP connection to use a database LOGON

0 commit comments

Comments
 (0)