]> granicus.if.org Git - php/commit
1. Introduce connection attribute functions:
authorChristopher Jones <sixd@php.net>
Tue, 6 Oct 2009 22:36:32 +0000 (22:36 +0000)
committerChristopher Jones <sixd@php.net>
Tue, 6 Oct 2009 22:36:32 +0000 (22:36 +0000)
commite91914b15dcae4f7da3498d0ec87c78b6b281987
treeb076916a53e3ac6dad8bdb539381700adec53dbb
parent61fd248432b9616b79bb226b81cb337a6059c280
1. Introduce connection attribute functions:

         oci_set_module_name
         oci_set_action
         oci_set_client_info
         oci_set_client_identifier

       These functions set values that are visible and used by the
       database.  They aid tracing, authentication and auditing.

    2. Introduce connection attribute function:

         oci_set_edition

       Oracle 11g R2 "editions" allow multiple versions of DB objects
       to exist at one time.  By setting different editions, two
       different versions of an application can run concurrently,
       making upgrades or A/B testing easier.

    3. Introduce OCI_NO_AUTO_COMMIT as an alias for the OCI_DEFAULT
       constant (which is not the default value) used by oci_execute().

    4. Allow the oci_set_prefetch value to be 0.  This is important in
       some cases using REF CURSORS in Oracle 11gR2.

    5. Set the DRIVER_NAME attribute of Oracle Database 11gR2
       connections to aid application tracing.  The value used is to
       "PHP OCI8" followed by the OCI8 version number.  Note the
       version number may get truncated in DB views such as
       v$session_connect_info.

    6. Generate an error if an invalid resource type is used in
       oci_bind_by_name

[DOC] Documentation will be added for the changes
22 files changed:
ext/oci8/README
ext/oci8/oci8.c
ext/oci8/oci8_interface.c
ext/oci8/oci8_statement.c
ext/oci8/package.xml
ext/oci8/php_oci8_int.h
ext/oci8/tests/bind_error.phpt [new file with mode: 0644]
ext/oci8/tests/commit.phpt
ext/oci8/tests/conn_attr.inc [new file with mode: 0644]
ext/oci8/tests/conn_attr_1.phpt [new file with mode: 0644]
ext/oci8/tests/conn_attr_2.phpt [new file with mode: 0644]
ext/oci8/tests/conn_attr_3.phpt [new file with mode: 0644]
ext/oci8/tests/conn_attr_4.phpt [new file with mode: 0644]
ext/oci8/tests/conn_attr_5.phpt [new file with mode: 0644]
ext/oci8/tests/debug.phpt
ext/oci8/tests/driver_name.phpt [new file with mode: 0644]
ext/oci8/tests/edition_1.phpt [new file with mode: 0644]
ext/oci8/tests/edition_2.phpt [new file with mode: 0644]
ext/oci8/tests/refcur_prefetch_1.phpt [new file with mode: 0644]
ext/oci8/tests/refcur_prefetch_2.phpt [new file with mode: 0644]
ext/oci8/tests/refcur_prefetch_3.phpt [new file with mode: 0644]
ext/oci8/tests/reflection1.phpt