Commit Graph

836 Commits

Author SHA1 Message Date
Kalle Sommer Nielsen
518a17e7bf Remove old dsp/dsw/makefile files, these arent used by the build system anymore and are barely updated nor available for all extensions 2010-04-21 23:36:49 +00:00
Christopher Jones
9cd79b40c5 Fixed Bug #51577 (Uninitialized memory reference with oci_bind_array_by_name) 2010-04-16 20:36:40 +00:00
Christopher Jones
a812818670 Fixed Bug #51577 (Uninitialized memory reference with oci_bind_array_by_name) 2010-04-16 20:36:40 +00:00
Christopher Jones
e79a8d440e Merge Kalle's tidy-up from trunk to keep files in sync 2010-04-16 19:47:23 +00:00
Kalle Sommer Nielsen
7ef4cdf471 Remove a couple TSRMLS_FETCH() calls around ext/main/sapi 2010-04-13 11:02:15 +00:00
Christopher Jones
3e58dee19a Fix #51220 by adding . Also improve reliability for tests using undefined behavior. 2010-03-26 19:38:26 +00:00
Christopher Jones
675ae35a8c Fix #51220 by adding . Also improve reliability for tests using undefined behavior. 2010-03-26 19:38:26 +00:00
Christopher Jones
1a6f4efbad Fixed bug #51291 (oci_error doesn't report last error when called two times) 2010-03-24 22:08:55 +00:00
Christopher Jones
2441b70033 Fixed bug #51291 (oci_error doesn't report last error when called two times) 2010-03-24 22:08:55 +00:00
Christopher Jones
ec3a46e194 name changes for consistency with planned additions 2010-03-22 22:37:20 +00:00
Christopher Jones
825d1abdfe Update oci_commit tests 2010-03-16 23:13:50 +00:00
Christopher Jones
1c6ea06c73 New OCI8 test 2010-03-13 00:25:11 +00:00
Christopher Jones
777d61c203 Mask resource numbers 2010-03-03 19:12:04 +00:00
Christopher Jones
373dd4d0d8 Release PECL OCI8 1.4.1 2010-02-11 22:43:54 +00:00
Christopher Jones
218eba34ee Bump version in early preparation for release 2010-01-12 19:12:49 +00:00
Christopher Jones
679b228391 Bug #47281 ( is limited in size of characters). Also remove redundant code line. 2010-01-07 23:59:20 +00:00
Christopher Jones
5e8e34bac8 Fixed bug #49560 (oci8: using LOBs causes slow PHP shutdown)
- Improved descriptor refcounting to remove unneeded items sooner
 - Replaced n^2 list traversal during descriptor list destruction
2010-01-06 18:58:16 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Christopher Jones
1aebd220f8 Add new 'fetch' test and make several small test fixes 2009-12-10 19:07:08 +00:00
Christopher Jones
e435285b39 Remove text recently merged to online doc 2009-12-10 17:28:19 +00:00
Christopher Jones
4e010297f1 New test 2009-11-19 17:44:46 +00:00
Christopher Jones
ebb7a0d077 Refactor test 2009-11-19 16:49:58 +00:00
Christopher Jones
5fc8120bd6 New test 2009-11-14 23:28:53 +00:00
Christopher Jones
d91f464e00 Add test for long fixed bug 2009-11-10 22:48:37 +00:00
Christopher Jones
264d6db5a6 bump ver 2009-10-06 23:21:11 +00:00
Christopher Jones
2769ae0444 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
76b321c350 Fix odd little diff in some environments. No need for trunk merge 2009-10-05 22:57:48 +00:00
Christopher Jones
7c7cc5d785 Fix diff when full connection string used. Clean up helper files 2009-10-05 22:51:21 +00:00
Christopher Jones
2d64d1ff72 Oracle 11.2 (and beyond) compat changes 2009-10-02 22:39:28 +00:00
Christopher Jones
de0592a3a3 refactor tests 2009-10-02 20:16:59 +00:00
Christopher Jones
460a4ceaff Fix skipifs to accept Oracle 11.2 2009-10-02 04:19:48 +00:00
Christopher Jones
8f65525ce6 Add xmltype_02.phpt. Add XFAIL to xmltype_01 for PHP 6 2009-10-01 06:22:32 +00:00
Christopher Jones
8fca6e46eb Eliminate type warnings. This change is not needed in other branches 2009-10-01 06:06:41 +00:00
Christopher Jones
609804cd44 PECL Bug #16842 (oci_error return false when NO_DATA_FOUND is raised) 2009-10-01 05:51:11 +00:00
Dmitry Stogov
7bfe056174 Fixed tests 2009-09-21 09:52:19 +00:00
Christopher Jones
de65a02f1c refactor & WS for local test config change 2009-08-12 14:54:16 +00:00
Antony Dovgal
d132b9985d fix test 2009-07-26 19:59:04 +00:00
Christopher Jones
085daea052 make it easier for maintainers to set un/pw in environments that don't pass shell variables 2009-07-19 16:08:24 +00:00
Christopher Jones
ce919053f3 Fix expected output to match final PHP 5.3 deprecated behavior 2009-07-19 16:06:19 +00:00
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
Christopher Jones
bb03788897 revert stmt release on connection error change (and sync with PHP 6) 2008-03-25 17:38:07 +00:00
Christopher Jones
e7de4793c3 Remove trailing period from error thus syncing with PHP 6 2008-03-25 17:20:27 +00:00
Christopher Jones
ceb2193b7c rename PHP_OCI8_VERSION in preparation for peclversioning RFC. Remove obsolete HAVE_OCI8_ATTR_STATEMENT macro 2008-03-25 02:00:32 +00:00
Christopher Jones
c401491ca0 Further improvements to error handling 2008-03-22 01:27:50 +00:00
Christopher Jones
c94d9b0c12 MFH: New test for existing behavior 2008-03-12 17:52:59 +00:00
Christopher Jones
b9f72771a6 MFH
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:26:44 +00:00
Christopher Jones
af6734c1ff MFH Fix bug #41069 (db link crash). Also allow SQLT_AFC (aka CHAR datatype) in oci_bind_by_name 2008-03-04 21:46:24 +00:00
Christopher Jones
96f8501ccd Attempt greater test portability 2008-03-04 21:05:47 +00:00
Christopher Jones
3207b7b228 MFH: Use STD_PHP_INI_BOOLEAN. Fix whitespace. 2008-02-26 02:21:04 +00:00
Christopher Jones
53a5bf2e65 Fix test noise 2008-02-26 01:05:59 +00:00
Christopher Jones
b4b099ae19 MFH: OCI8: fix bug #44008 (OCI-Lob->close) & bug #44206 (ref cursor leak) 2008-02-25 23:50:51 +00:00
Christopher Jones
23a43bb260 Update for PECL release 2008-02-19 19:04:03 +00:00
Christopher Jones
47c7035ea6 MFB: Test existing LOB error messages 2008-02-16 03:01:53 +00:00
Christopher Jones
07a79208b6 Streamlined code and incorporated review comments. Respect oci8.ping_interval when oci_pconnect called multiple times in a script. Changed OCIServerVersion to OCIPing (http://pecl.php.net/bugs/bug.php?id=11976) 2008-02-16 01:20:22 +00:00
Christopher Jones
2f62d300f7 MHB: Bug #44113 (New collection creation can fail with OCI-22303) 2008-02-15 23:24:45 +00:00
Christopher Jones
680cf8e994 MFH: New test for old, suspended bug 2008-01-31 22:03:23 +00:00
Christopher Jones
96e9484907 Update test environement description. Typos 2008-01-31 20:21:27 +00:00
Christopher Jones
87dcb8df8e Merge DRCP & FAN support. PHP6 sync will happen later 2008-01-31 01:33:30 +00:00
Rob Richards
abc8920bb6 MFH: fix zts build 2008-01-24 14:09:36 +00:00
Christopher Jones
90d414fdb6 MFH: Add ifdef 2008-01-18 16:03:51 +00:00
Christopher Jones
44a985f63e MFH: fix #41941 (oci8 extension not lib64 savvy) 2008-01-16 00:38:03 +00:00
Christopher Jones
bfb584bd0f MFH: Testcase for #43492 (nested cursors) 2008-01-15 20:54:59 +00:00
Christopher Jones
ed50a373b1 MFB: fix #43497 (OCI8 XML/getClobVal aka temporary LOBs leak UGA memory) 2008-01-15 20:44:31 +00:00
Nuno Lopes
61eb7ae554 remove unused PHP_EXTNAME_API macros.
#in preparation for the gcc 4 visibility patch
2008-01-03 16:20:33 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Christopher Jones
02ecdf0821 MFB: Fix #42496. Cursor leak fetching LOBs 2007-12-11 06:46:16 +00:00
Antony Dovgal
b2cdb92654 MFH: remove Oracle8 support 2007-11-13 11:09:42 +00:00
Yiduo (David) Wang
4b4d634cb9 MFH: Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:22:07 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Antony Dovgal
eaa89d2443 1.2.4 2007-08-31 22:30:27 +00:00
Antony Dovgal
19b1e39830 fix package2.xml 2007-08-31 22:26:13 +00:00
Antony Dovgal
c230fa2b76 add Chris to the maintainers 2007-08-31 21:44:57 +00:00
Antony Dovgal
a1ac6e1ee3 update changelog, prepare for 1.2.4 release 2007-08-31 12:10:54 +00:00
Christopher Jones
4450386ae0 New tests 2007-08-30 17:33:00 +00:00
Antony Dovgal
35591acebd MFH 2007-08-14 12:15:04 +00:00
Christopher Jones
9420637921 oci8: MFH with Ilia's OK: changes to build with Oracle Database 11g 2007-08-10 07:02:33 +00:00
Christopher Jones
bc890f08fb Record 'nother bug fix 2007-08-08 04:36:02 +00:00
Christopher Jones
aa02056fcb Add bugs fixed 2007-08-07 23:12:31 +00:00
Antony Dovgal
15de12187e update changelog 2007-08-07 21:56:10 +00:00
Christopher Jones
a289952c47 MFH: oci8: flush persistent connection after password change 2007-08-06 20:32:55 +00:00
Antony Dovgal
12ddff7032 update changelog & list of files 2007-08-06 15:57:27 +00:00
Christopher Jones
1fbba60dcb New oci8 test for oci_password_change() 2007-08-03 01:55:15 +00:00
Christopher Jones
864a08d1cb Test existing PHP 5 safe mode functionality and make consistent. No MTH. 2007-08-02 22:39:54 +00:00
Christopher Jones
f894c6ece7 MFH: Bug #42173 (INTERVAL and TIMESTAMP type fixes) 2007-08-02 19:04:37 +00:00
Christopher Jones
e942c16f7c MFH: New test for error handling 2007-08-01 15:18:37 +00:00
Antony Dovgal
49fbb7770b add test 2007-07-31 21:11:33 +00:00
Antony Dovgal
287ac21d5f MFH: missing part of the fix for bug #42134 2007-07-31 21:09:01 +00:00
Antony Dovgal
9efa1d8914 MFH: fix #42134 (oci_error() returns false after oci_new_collection() fails) 2007-07-31 19:21:08 +00:00
Christopher Jones
d2219c0a1a MFH: add casts to fix compilation warnings 2007-07-18 15:10:42 +00:00
Antony Dovgal
40e44e99d6 MFH: don't allow $PHP_OCI8 to be empty if OCI8 is enabled
fixes bug #41988
2007-07-13 09:24:30 +00:00
Antony Dovgal
4ef905ae59 MFH 2007-07-11 22:16:11 +00:00
Antony Dovgal
e79091eb13 MFH 2007-07-09 09:08:59 +00:00
Christopher Jones
ebf7807668 *** empty log message *** 2007-07-06 23:29:44 +00:00
foobar
7ed3c4536d MFH: Fix some configure --help texts 2007-07-03 17:25:43 +00:00
Christopher Jones
20fece8f76 New test 2007-07-03 15:10:41 +00:00
Christopher Jones
3443d9be3f Add testing steps 2007-06-29 04:30:53 +00:00
Antony Dovgal
dd44c6a093 add env vars for test settings (like in PDO) 2007-06-28 17:26:54 +00:00
Antony Dovgal
fa8a77a466 MFH: fix #41711 (Null temporary lobs not supported) 2007-06-25 18:26:52 +00:00
Antony Dovgal
a87f7117ff MFH: enable statement cache for non-persistent connections (patch by Chris Jones) 2007-06-08 08:44:39 +00:00
Antony Dovgal
ecd42f9774 MFH: fix #41594 (Statement cache is flushed too frequently) 2007-06-05 07:49:00 +00:00
Antony Dovgal
1f65545121 fix test names 2007-05-07 18:03:01 +00:00
Antony Dovgal
8f70937bec fix tests 2007-05-07 12:09:14 +00:00
Antony Dovgal
f0dbacb715 fix test 2007-05-07 08:25:12 +00:00
Antony Dovgal
dadbd426c4 MFH 2007-05-04 11:30:37 +00:00
Antony Dovgal
803e6f5887 MFH 2007-05-04 09:05:32 +00:00
Antony Dovgal
26cf62d293 MFH: fix PECL bug #10194 (crash in Oracle client when memory limit reached in the callback)
preallocate the required buffer, so that it would fail earlier.
2007-03-29 09:33:04 +00:00
Antony Dovgal
f87f4a1468 improved test 2007-03-02 09:09:49 +00:00
Antony Dovgal
7a069b81d8 new tests 2007-03-01 23:29:38 +00:00
Antony Dovgal
37b4db2d00 allocate descriptors dynamically 2007-03-01 22:27:44 +00:00
Marcus Boerger
50ea26760d - Avoid sprintf, even when checked copy'n'paste or changes lead to errors 2007-02-24 02:17:47 +00:00
Antony Dovgal
32c2c7a510 MFH 2007-02-13 20:19:56 +00:00
Antony Dovgal
8e49f0c54c MFH 2007-02-12 09:36:23 +00:00
Antony Dovgal
cdaff68610 MFH: improve tests 2007-01-31 13:56:16 +00:00
Antony Dovgal
4f6f150490 MFH: fix segfault on rebindinging and rexecuting a statement with LOBs
fix compile failure in ZTS mode when collections support is missing
2007-01-31 13:55:43 +00:00
Antony Dovgal
46baad774f add package2.xml 2007-01-25 16:55:40 +00:00
Antony Dovgal
de3c2038af PHP4 compatibility 2007-01-25 09:31:23 +00:00
Antony Dovgal
93951f1931 prepare to release 1.2.3 2007-01-24 14:34:13 +00:00
Antony Dovgal
a5f3e15114 MFH 2007-01-19 19:43:30 +00:00
Antony Dovgal
f361d9e4f0 MFH: fix #39988 (type argument of oci_define_by_name() is ignored)
patch and tests by Chris Jones
2007-01-11 12:01:08 +00:00
Antony Dovgal
12d54fa683 MFH: fix #40078 (ORA-01405 when fetching NULL values using oci_bind_array_by_name()) 2007-01-11 11:27:52 +00:00
Antony Dovgal
7cf0e005fa MFH 2007-01-03 20:45:22 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Antony Dovgal
65f50e7e31 MFH more test improvements by Chris Jones 2006-12-27 09:49:53 +00:00
Antony Dovgal
7dc7882745 MFH 2006-12-25 21:47:02 +00:00
Ilia Alshanetsky
7efb0a14f4 Use safe_emalloc() 2006-12-25 21:41:04 +00:00
Antony Dovgal
46b25155d2 MFH 2006-12-23 14:02:50 +00:00
Antony Dovgal
a7faaa1b14 new tests 2006-12-22 13:30:10 +00:00
Antony Dovgal
ed11386c3d MFH 2006-12-21 22:08:26 +00:00
Antony Dovgal
66d9c24ccc improve tests 2006-12-21 19:23:26 +00:00
Antony Dovgal
6546914e68 new tests 2006-12-21 12:41:36 +00:00
Antony Dovgal
beeb5ddec4 disable tests 2006-12-12 13:22:44 +00:00
Antony Dovgal
fd23b700fb fix test 2006-12-12 13:11:36 +00:00
Antony Dovgal
2f5229c9fc MFH: skip BFILE tests if Oracle is not on localhost 2006-12-12 13:00:01 +00:00
Antony Dovgal
fc0e395678 add new tests 2006-12-12 09:33:33 +00:00
Antony Dovgal
f5543e8279 MFH 2006-12-12 09:28:18 +00:00
Antony Dovgal
ab765ca497 MFH 2006-12-11 12:34:09 +00:00
Antony Dovgal
03785ddb5f add new test 2006-12-11 12:32:06 +00:00
Antony Dovgal
f8d4de338b MFH: fix #39732 (oci_bind_array_by_name doesn't work on Solaris 64bit) 2006-12-08 20:56:29 +00:00
Antony Dovgal
88e827f3f1 MFH 2006-11-10 23:03:32 +00:00
Antony Dovgal
7563d4f573 fix possible issue with negative values in oci_set_prefetch
(reported by Chris Jones)
2006-11-10 20:13:36 +00:00
Antony Dovgal
4106eee7c7 fix segfault in ZTS mode when statements containing sub-statements are destroyed in wrong order 2006-11-10 16:33:41 +00:00
Antony Dovgal
91a1333c21 MFH: fix PECL bug #9061 (oci8 might reuse wrong persistent connection) 2006-10-18 14:23:23 +00:00
Antony Dovgal
3bd0f950da fix win32 build 2006-10-13 14:26:34 +00:00
Antony Dovgal
d087c87ffe MFH: use connection charset when reading LOB data 2006-10-12 10:04:12 +00:00
Antony Dovgal
3a48a290a0 MFH: fix PECL bug #8816 (issue in php_oci_statement_fetch with more than one piecewise column)
patch by jeff at badtz-maru dot com
2006-10-09 09:34:55 +00:00
Antony Dovgal
a13937e5a2 fix test 2006-09-27 08:44:19 +00:00
Antony Dovgal
3bd1c646b7 add PHP version detection to this branch too, since I'm using this branch to make PECL releases 2006-09-18 21:23:42 +00:00
Antony Dovgal
e5ab519397 MFH 2006-09-13 10:44:11 +00:00
Antony Dovgal
6e0915b631 new tests 2006-09-12 20:32:39 +00:00
Antony Dovgal
d1202b7986 declare oci_lob_seek() 2006-09-12 20:27:28 +00:00
Antony Dovgal
7800711d34 MFH: fix leak when binding a variable to the same placeholder several times 2006-09-12 11:42:44 +00:00
Antony Dovgal
75b8cd741b last portion of z/Z fixes 2006-08-31 16:15:24 +00:00
Antony Dovgal
d221f46ab6 update version in phpinfo() 2006-08-24 13:03:04 +00:00
Antony Dovgal
f6bbb02da6 bump version number 2006-08-24 12:46:54 +00:00
Antony Dovgal
567cf55085 compat fixes 2006-08-24 12:05:19 +00:00
Antony Dovgal
f1b1c65413 release 1.2.2 from 5_2 branch, as HEAD doesn't have safe_mode anymore 2006-08-24 11:59:15 +00:00
Antony Dovgal
08a9ab02ba minor improvements 2006-08-22 11:09:12 +00:00
Antony Dovgal
70e59e2999 MFH: fix PECL bug #8112 (OCI8 persistent connections misbehave when Apache process times out) 2006-08-21 16:41:13 +00:00
Antony Dovgal
3a0f857173 minor CS/WS fixes 2006-08-15 13:08:34 +00:00
Antony Dovgal
88e752c007 MFH: error message might be NULL 2006-08-15 12:27:24 +00:00
Antony Dovgal
8c170d480a MFH: OCIBreak() is not supported on Windows 2006-08-15 12:19:46 +00:00
Antony Dovgal
ae61bb7bb8 improve connection character set detection:
* output a warning if invalid character set was passed to the function
* use NLS_LANG by default
2006-08-10 12:15:58 +00:00
Antony Dovgal
c9c05bece9 add support for NCLOBs
fix #35973 (Error ORA-24806 occurs when trying to fetch a NCLOB field)
2006-08-09 15:24:27 +00:00
Antony Dovgal
946594bb6b MFH: fix #38161 (oci_bind_by_name() returns garbage when Oracle didn't set the variable) 2006-08-09 12:15:43 +00:00
Antony Dovgal
e3cfc40cac fix leak on failure 2006-08-09 11:49:06 +00:00
Antony Dovgal
4c5691bd02 MFH: fix #8112 (Persistent connections misbehave when Apache process times out) 2006-08-09 10:16:50 +00:00
Antony Dovgal
861c55b417 long -> int 2006-08-06 14:09:58 +00:00
Antony Dovgal
a1a42253d9 fix PECL bug #7827
add small optimization
2006-08-05 20:56:43 +00:00
Antony Dovgal
1bf915ca2d improve error message on Win32 2006-08-01 12:08:25 +00:00
Antony Dovgal
f5b5d34a27 MFH: fix #37581 (oci_bind_array_by_name clobbers input array when using SQLT_AFC, AVC) 2006-07-31 10:30:23 +00:00
Antony Dovgal
aa1ced04cb MFH: fix #38173 (Freeing nested cursors causes OCI8 to segfault) 2006-07-30 20:51:24 +00:00
Antony Dovgal
7987bba743 improve connection timeout check (implements FR #38210) 2006-07-26 06:59:40 +00:00
Antony Dovgal
0212ec6c71 MFH: fix #37931 (possible crash after database restart when using persistent connections) 2006-06-28 15:03:33 +00:00
Antony Dovgal
1fdd8d7b2a MFH: fix typo and bug #37886 2006-06-23 08:26:15 +00:00
Antony Dovgal
ba8f17e483 MFH: display oci8 version in phpinfo() 2006-06-19 18:21:28 +00:00
Dmitry Stogov
1dbaae2795 Added automatic module globals management 2006-06-15 18:33:09 +00:00
Antony Dovgal
9123bee257 MFH:
fix Unicode LOB problems using callbacks to read LOBs
using chunk_size*X buffer should speed up LOB reading a bit

many thanks to Massimo Squillace <msquillace at sogei dot it> for the patch.
2006-06-07 13:36:51 +00:00
Antony Dovgal
a588f2dc60 MFH: fix OCIPasswordChange() parameters (patch by pholdaway at technocom-wireless dot com)
prevent username, password and new password from being empty
2006-06-05 07:35:32 +00:00
Antony Dovgal
9246ba2a82 more test fixes, this time support Oracle 10 2006-05-30 22:34:16 +00:00
Antony Dovgal
c1272d8972 fix tests 2006-05-30 22:27:32 +00:00
Antony Dovgal
2817ddccf5 fix test 2006-05-30 21:54:42 +00:00
Antony Dovgal
bc5b8eabea MFH 2006-05-30 21:38:12 +00:00
Antony Dovgal
bb4c7ff0e9 MFH: don't require libociei, this allows us to build ext/oci8 against basiclite OIC package 2006-05-30 13:16:48 +00:00
Antony Dovgal
9e1b944989 MFH: improve sed expressions 2006-05-29 18:12:55 +00:00
Antony Dovgal
be0fc2b801 MFH: fix #37531 (oci8 persistent connection corruption) 2006-05-29 10:59:30 +00:00
Antony Dovgal
095162c3d4 re-enable OCILobRead2() support 2006-05-22 04:17:42 +00:00
Antony Dovgal
25eca319fa MFH: attempt to fix OCILobRead2() related problems 2006-05-20 13:46:59 +00:00
Antony Dovgal
749f4ac2ab MFH: fix #37487 (oci_fetch_array() array-type should always default to OCI_BOTH) 2006-05-18 13:21:08 +00:00
Antony Dovgal
bb82fb0530 MFH: disable OCILobRead2() support on Win32 2006-05-15 08:34:40 +00:00
Antony Dovgal
0881dbd101 MFH: fix #37392 (Unnecessary call to OCITransRollback() at the end of request) 2006-05-10 10:07:28 +00:00
Antony Dovgal
5751903b1b fix #37059 (oci_bind_by_name() doesn't support RAW and LONG RAW fields)
add tests
2006-04-12 19:21:35 +00:00
Antony Dovgal
2d2f1cf0c6 oops.. I didn't want to commit this.. 2006-04-12 18:01:35 +00:00
Antony Dovgal
2e461783d0 correct fix for bug #37055 2006-04-12 17:59:32 +00:00
Antony Dovgal
bac1fda336 fix #37055 (incorrect reference counting for persistent OCI8 connections) 2006-04-12 13:37:51 +00:00
Antony Dovgal
52296072e0 add new tests 2006-04-05 14:09:01 +00:00
Antony Dovgal
7522fb7272 add missing defines to .w32 2006-04-05 14:07:40 +00:00
Antony Dovgal
569ce842f1 fix #36934 (OCILob->read() doesn't move internal pointer when reading 0's) 2006-04-05 14:06:00 +00:00
Antony Dovgal
ea22696fb9 fix tests 2006-03-28 09:12:45 +00:00
Antony Dovgal
6dc42ef117 fix #36851 (Documentation and code discrepancies for NULL data) 2006-03-28 09:12:18 +00:00
Antony Dovgal
6c101d6400 fix #36820 (Privileged connection with an Oracle password file fails) 2006-03-22 09:45:39 +00:00
Antony Dovgal
f9835c3786 change oci_field_type() to return VARCHAR2 instead of VARCHAR
(fixes feature request #36800)
2006-03-21 15:47:31 +00:00