Commit Graph

652 Commits

Author SHA1 Message Date
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
Christopher Jones
ae46d3ca77 OCI8: Remove macros obsoleted by rev 1.71 when Oracle 8 support was dropped 2008-06-05 23:40:42 +00:00
Christopher Jones
307edab6ee Make tests interruptible; clean up tables at start 2008-06-05 23:27:41 +00:00
Felipe Pena
6c06a591f2 - Removed UEXPECT(F) 2008-05-27 16:53:36 +00:00
Felipe Pena
f859bd1b4f - Removed UEXPECT(F) 2008-05-27 14:30:38 +00:00
Christopher Jones
f31693b736 New/updated tests 2008-05-13 00:04:52 +00:00
Christopher Jones
bd6696c639 MFB: Set extension status back to dev 2008-04-18 02:35:08 +00:00
Christopher Jones
7f3604bbab 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:04:45 +00:00
Christopher Jones
bb4c6a7267 MFB: PECL #13523 (x86_64 build) and versioning sync 2008-04-07 22:34:03 +00:00
Christopher Jones
ca31d5bc68 MFB: Fix OCIPing 10.2 macro 2008-04-07 22:33:31 +00:00
Christopher Jones
135476bdb8 MFB: Test updates 2008-04-07 22:33:08 +00:00
Antony Dovgal
3fbf99a283 decrement parent's refcount only when destroying the child, not when decrementing child's refcount 2008-04-02 14:56:03 +00:00
Christopher Jones
7e9a08adb8 Use new version macro 2008-04-01 18:38:17 +00:00