Commit Graph

597 Commits

Author SHA1 Message Date
Christopher Jones
4c12299c08 Reduce Oracle version-dependent diffs. Make PHP 5/6 compatible 2009-07-19 16:05:08 +00:00
Christopher Jones
870addb951 Obsolete package2.xml: resume using package.xml 2009-03-25 02:00:53 +00:00
Christopher Jones
1b11bacae4 MFH: use random text 2009-03-25 01:57:40 +00:00
Christopher Jones
6e2521f070 MFH Prepare for PECL OCI8 1.3.5 2009-03-16 05:44:49 +00:00
Christopher Jones
d14b84719d MFH: Mac OSX customization for initialization error message 2009-03-16 05:34:02 +00:00
Christopher Jones
881435625f MFH: Fixed PECL Bug 14268 (Allow 'pecl install oci8' command to 'autodetect' an Instant Client RPM install) & refactor 2009-03-12 23:52:37 +00:00
Christopher Jones
65029f11e9 MFH: Fix tests to use ENV and re-enable 2009-03-12 14:50:29 +00:00
Christopher Jones
c5884d6cb6 Revert local setting changes 2009-03-11 17:11:32 +00:00
Christopher Jones
1781af46ec MFH: Bug #46994 (CLOB size does not update when using CLOB IN OUT param in stored procedure) 2009-03-11 16:47:14 +00:00
Christopher Jones
5dc46cc345 MFH: New test for oci_fetch_all 2009-03-09 21:20:02 +00:00
Christopher Jones
10ff16d21b MFH: Make non-public prototype match the type passed at call 2009-03-09 20:58:51 +00:00
Christopher Jones
f346405330 MFH: Use PHP 5 function name in error message 2009-03-09 20:20:07 +00:00
Christopher Jones
bce3f3afe8 MFH: Bug #47243 (Crash at shutdown on Windows) 2009-03-09 20:09:07 +00:00
Christopher Jones
af4a8e7879 Make tests portable with older PHP for PECL builds 2009-03-09 19:55:30 +00:00
Christopher Jones
47ee83d12a MFH: PECL Bug #16035 (oci_connect without ORACLE_HOME defined causes segfault) 2009-03-09 19:01:16 +00:00
Christopher Jones
8b8dd708d0 MFH: PECL Bug #15988 (sqlnet.ora isn't read with older Oracle libraries) 2009-03-09 18:04:26 +00:00
Christopher Jones
143e127d8b MFH: Prepare for future PECL OCI8 1.3.5 2009-03-09 17:51:04 +00:00
Christopher Jones
f500b15658 MFH: Silence initialization warning 2009-03-09 17:48:54 +00:00
Christopher Jones
8ae20045c7 MFH: Bug #46623 (phpinfo doesn't show compile time ORACLE_HOME with phpize) 2009-03-09 17:42:22 +00:00
Christopher Jones
8cf010352c Tweak fix for #45458 to allow this branch (from PECL) to continue building with PHP 4 et al. No other branches need changing 2009-02-05 21:43:31 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Felipe Pena
fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-11-17 11:28:01 +00:00
Felipe Pena
7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:35:40 +00:00
Christopher Jones
02b2bcd94b MFH: Bug #45888 (Refcounting in ZTS mode) 2008-08-28 06:33:24 +00:00
Christopher Jones
c5aa4a138e MFH: Bug #45458 (OCI8: Numeric keys for associative arrays are not handled properly) 2008-08-28 06:19:45 +00:00
Christopher Jones
38b404fcb6 MHF: Test initialization cleanup 2008-08-28 05:35:26 +00:00
Antony Dovgal
3d67fbf2bf fix 11g crap 2008-08-06 07:54:40 +00:00
Pierre Joye
457f00b201 - MFH: fix oci8_11g when build shared (invalid extension) 2008-08-05 20:56:25 +00:00
Pierre Joye
ef6cc19055 - MFH: support for Oracle 11g (either 8 or 11g can be built but not both 2008-08-01 15:07:59 +00:00
Christopher Jones
8126b1ab94 MFH Update README. Bump ver ready for PECL release 2008-07-27 17:50:41 +00:00
Christopher Jones
3de112221f MFH
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:24:14 +00:00
Christopher Jones
47e6c5d017 Allow PECL builds with PHP 4. No MTH needed 2008-07-17 00:36:02 +00:00
Christopher Jones
d990032b7a MFH: [DOC] Add LOB & Collection class parameter reflection 2008-07-16 23:55:13 +00:00
Christopher Jones
1c1c98c620 MFH
1. Merged ARG_INFO patch (Felipe)

2. Allow empty username & password 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.  OCI_CRED_EXT
is not supported on Windows for security reasons.

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), e.g.:

  $c1 = oci_connect("/", "", $db, null, OCI_CRED_EXT+OCI_SYSOPER);
2008-07-16 22:16:03 +00:00
Christopher Jones
47c918cd6f MFH: improve skipif 2008-07-16 19:52:01 +00:00
Christopher Jones
ff6cf25fa7 OCI8: MFH: (PECL #14219) Improve README 2008-06-27 18:26:16 +00:00
Christopher Jones
31d0d253a8 Test updates and bundle 1.3.3 2008-06-19 19:56:11 +00:00
Christopher Jones
b8e1d4d4e5 MFB: OCI8: Remove macros obsoleted by rev 1.55.2.3.2.11.2.1 when Oracle 8 support was dropped 2008-06-05 23:43:10 +00:00
Christopher Jones
19732456a1 MFB: sync with PECL 1.2.5 release 2008-06-05 23:41:35 +00:00
Christopher Jones
b0885bb9a2 MFH: Make tests interruptible; clean up tables at start 2008-06-05 23:28:16 +00:00
Christopher Jones
4e12fa4a25 MFH: New/updated tests 2008-05-13 00:05:09 +00:00
Christopher Jones
dfe7affab5 Set extension status back to dev 2008-04-18 02:34:42 +00:00
Christopher Jones
0a6fb9085e Update description 2008-04-18 02:33:59 +00:00
Christopher Jones
08eaa56798 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
2008-04-18 00:05:27 +00:00
Christopher Jones
df86a8d398 Test updates 2008-04-07 21:55:53 +00:00
Christopher Jones
9389c68310 Fix OCIPing 10.2 macro 2008-04-07 21:55:43 +00:00
Christopher Jones
51c5220adb PECL #13523 (x86_64 build). Make OCI8 buildable with PHP 4.3.9. 2008-04-07 21:55:20 +00:00
Antony Dovgal
aa555ca0a9 MFH 2008-04-02 14:56:21 +00:00
Christopher Jones
fc1ad96953 Use new version macro. Make code portable to older PHP versions 2008-04-01 18:37:32 +00:00