Commit Graph

664 Commits

Author SHA1 Message Date
Christopher Jones
a8000b2608 bump ver 2009-10-06 23:21:11 +00:00
Christopher Jones
e91914b15d 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
2009-10-06 22:36:32 +00:00
Christopher Jones
94dc8024d9 Fix diff when full connection string used. Clean up helper files 2009-10-05 22:51:21 +00:00
Christopher Jones
a7c62ba93f Oracle 11.2 (and beyond) compat changes 2009-10-02 22:39:28 +00:00
Christopher Jones
73b9ee934f refactor tests 2009-10-02 20:16:59 +00:00
Christopher Jones
3c442f8471 Fix skipifs to accept Oracle 11.2 2009-10-02 04:19:48 +00:00
Christopher Jones
09a37f0d0e Add xmltype_02.phpt. Add XFAIL to xmltype_01 for PHP 6 2009-10-01 06:22:32 +00:00
Christopher Jones
d1df1c4ba7 PECL Bug #16842 (oci_error return false when NO_DATA_FOUND is raised) 2009-10-01 05:51:11 +00:00
Christopher Jones
0645f93622 refactor & WS for local test config change 2009-08-12 14:54:16 +00:00
Antony Dovgal
1bf1e084a6 fix test 2009-07-26 19:59:20 +00:00
Christopher Jones
880c08e16a make it easier for maintainers to set un/pw in environments that don't pass shell variables 2009-07-19 16:08:44 +00:00
Christopher Jones
01f090e30a Reduce Oracle version-dependent diffs. Make PHP 5/6 compatible 2009-07-19 16:04:57 +00:00
Felipe Pena
6d34e06a2f - Dropped *_TEXT* macros in favor of unicode macros direct usage 2009-05-25 14:32:15 +00:00
Felipe Pena
8ecf8ede1f - Removed:
- UG(unicode) checks
       - pcre_cache_entry.unicode_mode
- Changed:
       - ZEND_STR_TYPE -> IS_UNICODE
       - convert_to_text -> convert_to_unicode
       - convert_to_text_ex -> convert_to_unicode_ex

(Felipe, Steph)
2009-03-26 20:02:53 +00:00
Christopher Jones
52a14bd8b7 sync with 5.3 2009-03-25 01:59:17 +00:00
Christopher Jones
7594e200ad use random text 2009-03-25 01:57:22 +00:00
Christopher Jones
2d574c99d3 Prepare for PECL OCI8 1.3.5 2009-03-16 05:37:35 +00:00
Christopher Jones
bc535521eb Mac OSX customization for initialization error message 2009-03-16 05:29:49 +00:00
Christopher Jones
2fe755e416 Fixed PECL Bug 14268 (Allow 'pecl install oci8' command to 'autodetect' an Instant Client RPM install) & refactor 2009-03-12 23:52:20 +00:00
Christopher Jones
e5993635e2 Fix tests to use ENV and re-enable 2009-03-12 14:47:47 +00:00
Christopher Jones
350da73bbc Revert local setting changes 2009-03-11 17:12:24 +00:00
Christopher Jones
fdace0c5d0 Bug #46994 (CLOB size does not update when using CLOB IN OUT param in stored procedure) 2009-03-11 16:46:38 +00:00
Christopher Jones
d9bca66417 New test for oci_fetch_all 2009-03-09 21:19:18 +00:00
Christopher Jones
3db98baa59 Make non-public prototype match the type passed at call 2009-03-09 20:58:13 +00:00
Christopher Jones
cdf17a3f92 Use PHP 5 function name in error message 2009-03-09 20:19:38 +00:00
Christopher Jones
89a216cd23 Bug #47243 (Crash at shutdown on Windows) 2009-03-09 20:07:39 +00:00
Christopher Jones
58acebce20 MHB/sync: Make tests portable with older PHP for PECL builds 2009-03-09 19:55:50 +00:00
Christopher Jones
c7438c63f0 PECL Bug #16035 (oci_connect without ORACLE_HOME defined causes segfault) 2009-03-09 18:59:20 +00:00
Christopher Jones
f8996c4b6c PECL Bug #15988 (sqlnet.ora isn't read with older Oracle libraries) 2009-03-09 18:03:34 +00:00
Christopher Jones
9e317f0102 Prepare README for future PECL OCI8 1.3.5 2009-03-09 17:50:53 +00:00
Christopher Jones
0d4e215db4 Silence initialization warning 2009-03-09 17:48:36 +00:00
Christopher Jones
c33f88ccb0 Bug #46623 (phpinfo doesn't show compile time ORACLE_HOME with phpize) 2009-03-09 17:40:59 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Felipe Pena
43791516db - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!) 2008-11-17 11:26:25 +00:00
Felipe Pena
e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Felipe Pena
7eb2715464 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:34:17 +00:00
Christopher Jones
dcfcdbf121 Bug #45888 (Refcounting in ZTS mode) 2008-08-28 06:32:52 +00:00
Christopher Jones
23b226862a Bug #45458 (OCI8: Numeric keys for associative arrays are not handled properly) 2008-08-28 06:17:53 +00:00
Christopher Jones
b40269c23d Fix expected output for PHP 6 2008-08-28 06:15:56 +00:00
Christopher Jones
9aa0a6c34e Test initialization cleanup 2008-08-28 05:35:18 +00:00
Pierre Joye
bcd1b31831 - fix oci8_11g when build shared (invalid extension) 2008-08-05 20:56:03 +00:00
Pierre Joye
5550ef750b - support for Oracle 11g (either 8 or 11g can be built but not both 2008-08-01 15:06:56 +00:00
Christopher Jones
e10ebdfee7 Update README. Bump ver ready for PECL release 2008-07-27 17:48:16 +00:00
Christopher Jones
c3ecda4dfd 1. Fix macro version test for constants
2. [DOC] Increase oci8.default_prefetch to 100.  Better out of box experience.  Consistent woth PDO_OCI
2008-07-24 15:23:29 +00:00
Christopher Jones
50f852bea0 Add LOB & Collection class parameter reflection 2008-07-16 23:54:42 +00:00
Christopher Jones
336d8c5bd8 1. Merged ARG_INFO patch (Felipe)
2. Allow an empty username/password to be passed so Oracle can do
non-password based authentication, i.e. "External Authentication".
http://news.php.net/php.internals/37545

[DOC]

A new OCI_CRED_EXT flag can be passed as the "session_mode" parameter
to oci_connect(), oci_new_connect() and oci_pconnect().

  $c1 = oci_connect("/", "", $db, null, OCI_CRED_EXT);

This tells Oracle to do external or OS authentication, if configured
in the database.

OCI_CRED_EXT can only be used with username of "/" and a empty
password.  Oci8.privileged_connection may be On or Off.

The new flag may be combined with the existing OCI_SYSOPER or
OCI_SYSDBA modes (note: oci8.privileged_connection needs to be On for
OCI_SYSDBA and OCI_SYSOPER mode), e.g.:

  $c1 = oci_connect("/", "", $db, null, OCI_CRED_EXT+OCI_SYSOPER);
2008-07-16 22:14:03 +00:00
Christopher Jones
895066687d improve skipif 2008-07-16 19:51:53 +00:00
Christopher Jones
8a23c1d2d8 OCI8: (PECL #14219) Improve README 2008-06-27 18:26:05 +00:00
Christopher Jones
98730e6b45 MFB: sync with 5.3 2008-06-19 20:24:00 +00:00
Felipe Pena
9f2d50a887 - Removed unnecessary SKIPIF (unicode/tests/*)
- Removed non-unicode tests (tests that uses SKIPIF like "die('skip unicode.semantics=on');")
2008-06-09 15:54:08 +00:00