Commit Graph

628 Commits

Author SHA1 Message Date
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
Christopher Jones
7060c9574c oci8: Sync with 5.3 - version macro updates and DRCP tweaks 2008-03-25 02:25:03 +00:00
Christopher Jones
32ed6f39de New test for existing behavior 2008-03-12 17:52:29 +00:00
Christopher Jones
7d41cd902b Cleaned up whitespace
Fixed bug #44372 (compilation with Oracle 10gR1 libraries)
http://bugs.php.net/bug.php?id=44372

Updated updated error number list to improve re-connection
behavior after a database restart.

Guard against potential internal list corruption after ping
removes old oci_pconnect() information.

Fix ini_set("oci8.connection_class", "abc") to get an appropriate
persistent connection.

Ping at oci8.ping_interval for oci_connect() and oci_new_connect()
when DRCP connections are used. This improves non-persistent
connection reliability if a database gets restarted.
2008-03-12 01:25:13 +00:00
Christopher Jones
2da1432d75 Fix bug #41069 (db link crash). Also allow SQLT_AFC (aka CHAR datatype) in oci_bind_by_name 2008-03-04 21:45:55 +00:00
Christopher Jones
f5af5850e9 Attempt greater test portability 2008-03-04 21:05:01 +00:00
Christopher Jones
95302839d6 Use STD_PHP_INI_BOOLEAN. Fix whitespace. 2008-02-26 02:18:16 +00:00
Christopher Jones
e08e6b0214 fix test noise 2008-02-26 01:04:35 +00:00
Christopher Jones
e51eeed567 OCI8: fix bug #44008 (OCI-Lob->close) & bug #44206 (ref cursor leak) 2008-02-25 23:49:51 +00:00
Christopher Jones
5aeaeac561 MFB: sync DRCP connection pooling and FAN support from PHP 5.3 2008-02-19 01:44:29 +00:00
Christopher Jones
f4a50b0823 MFB: Test existing LOB error messages 2008-02-16 03:02:24 +00:00
Christopher Jones
a189edb7e7 MHB: Bug #44113 (New collection creation can fail with OCI-22303) 2008-02-15 23:49:21 +00:00
Christopher Jones
02a2dc3e0c New test for old, suspended bug 2008-01-31 22:02:09 +00:00
Rob Richards
7d17152cc2 fix zts build 2008-01-24 14:08:45 +00:00
Christopher Jones
f55c8670af Add ifdef 2008-01-18 16:03:23 +00:00
Christopher Jones
5d493b2982 fix #41941 (oci8 extension not lib64 savvy) 2008-01-16 00:33:26 +00:00
Christopher Jones
3ad150905d Testcase for #43492 (nested cursors) 2008-01-15 20:53:56 +00:00
Christopher Jones
c19506f680 MFB: fix #43497 (OCI8 XML/getClobVal aka temporary LOBs leak UGA memory) 2008-01-15 20:47:50 +00:00
Nuno Lopes
1dc0e94e0f MFB: remove unused PHP_EXTNAME_API macros.
#in preparation for the gcc 4 visibility patch
2008-01-03 16:18:29 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Christopher Jones
fc1a0266bb MFB: Fix #42496. Cursor leak fetching LOBs 2007-12-11 06:29:38 +00:00
Antony Dovgal
c4bf9143c8 remove Oracle8 support (it should have been done long ago..) 2007-11-13 11:09:30 +00:00
Yiduo (David) Wang
95da0dc570 Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:15:07 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Christopher Jones
c9a404eba8 MFB New tests 2007-08-30 17:34:01 +00:00