Commit Graph

644 Commits

Author SHA1 Message Date
Pierre Joye
aa0ed267a2 - use TSRMLS_*C instead of TSRMLS_FETCH in zend_list_insert 2010-09-16 09:13:19 +00:00
Christopher Jones
4f5ef36ce3 Fixed bug #51610 (Using oci_connect causes PHP to take a long time to exit). Do PECL OCI8 1.4.3 release 2010-08-07 00:24:26 +00:00
Christopher Jones
bcda2ac012 Remove hard coded lib extension. Prepare for OCI8 1.4.2 release 2010-06-25 21:18:09 +00:00
Christopher Jones
b50c9a6102 Fix bug #52186 (phpinfo shows 10.1 or 11.1 when installed with ORACLE_HOME 10.2 or 11.2) 2010-06-25 21:09:13 +00:00
Pierre Joye
05ac8f5c52 - fix build (declaration must be first) 2010-05-03 19:31:50 +00:00
Christopher Jones
2b024611de Bug #51691 (Unnecessary realloc causes crashes in PHP trunk tests with interned strings). Updated tests check some other edge cases 2010-04-29 05:07:16 +00:00
Christopher Jones
1238d48abf Remove obsolete test 2010-04-29 05:07:03 +00:00
Christopher Jones
14014553c3 Mask schemaname in error messages 2010-04-28 17:26:59 +00:00
Felipe Pena
69efd7f5c7 - Fix test 2010-04-28 16:33:36 +00:00
Rob Richards
0a34d10783 revert change #298288: Remove old dsp/dsw/makefile files 2010-04-28 14:41:51 +00:00
Kalle Sommer Nielsen
dd8e59da8f Removed safe_mode
* Removed ini options, safe_mode*
 * Removed --enable-safe-mode --with-exec-dir configure options on Unix
 * Updated extensions, SAPI's and core
 * php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Christopher Jones
fd42b5064c Initialize vars to prevent valgrind warnings in some cases 2010-04-24 00:44:56 +00:00
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
Kalle Sommer Nielsen
7ef4cdf471 Remove a couple TSRMLS_FETCH() calls around ext/main/sapi 2010-04-13 11:02:15 +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
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