Commit Graph

997 Commits

Author SHA1 Message Date
Christopher Jones
5ac7c533a0 More OCI8 DTrace probe updates.
Change php.ini-* doc to match an earlier change to config.w32
2013-09-26 21:12:11 -07:00
Christopher Jones
b6d0cb0553 Build OCI8 2.0 on Windows with Oracle Database 12c libraries only 2013-09-18 19:50:32 -07:00
Christopher Jones
43289d664c Remove obsolete flag 2013-09-06 10:12:16 -07:00
Christopher Jones
ca4d122adc Update DTrace probes 2013-09-06 08:54:19 -07:00
Christopher Jones
e504ed66a8 Add test for oci_set_* error changes 2013-09-06 08:14:18 -07:00
Christopher Jones
4b778faa80 Make oci_set_*($connection,...) errors retrievable via oci_error($connection).
Improve some error handling to produce error text on some rare edge cases.
Disambiguate the Oracle library function call return status values from ORA error numbers.
Review and unify error data types.
2013-09-05 18:18:29 -07:00
Christopher Jones
6ece550394 Cast time_t since some "dtrace -G" invocations fail on time_t arguments 2013-09-03 15:17:36 -07:00
Christopher Jones
d7ffca590b Allow OCI8 to be DTrace-enabled independently of core PHP's DTrace
status.  The proviso is OCI8 must be built "shared" when DTrace is
enabled.  This implementation (i) works around an incomplete core PHP
solution for extension tracing (ii) avoid any issues with DOF section
location and the complexities of needing to merge all provider .d
files for static builds (iii) allows OCI8 to be DTrace-enabled when
doing PECL installs of OCI8 on PHP versions without core PHP DTrace
support.

This is an initial patch i.e. it will undergo further testing.
2013-08-30 17:37:44 -07:00
Christopher Jones
82da51bbce OCI8: remove unused ext/oci8/config.m4 macro 2013-08-30 11:15:56 -07:00
Christopher Jones
e6053acd78 OCI8 whitespace: remove tabs embedded in code 2013-08-30 11:14:20 -07:00
Christopher Jones
49cd21e71c OCI8 2.0: add oci8-check-connection probe and do some renaming 2013-08-27 16:41:02 -07:00
Christopher Jones
4b67c781f3 Use "__" consistently in OCI8 DTrace probe definitions. It maps to "-" in the probe name. 2013-08-26 15:42:57 -07:00
Christopher Jones
8aca4e45bb Leave it to DTrace FBT to trace underlying library calls 2013-08-26 14:20:58 -07:00
Christopher Jones
f95cd93408 Fix unused variable warning in OCI8 2.0 2013-08-13 15:15:57 -07:00
Michael Wallner
611122c22e Merge branch '2Guploads'
* 2Guploads:
  add NEWS entry; add simple test
  more precise condition
  make this work in vc11 too
  Use int64_t and atoll() after discussion with johannes
  ws
  Patch for https://bugs.php.net/bug.php?id=44522 to allow uploading files above 2G.
  unify stdint type usage
2013-08-09 11:47:25 +02:00
Michael Wallner
14caf174ff unify stdint type usage
if you need C99 stdint types, just include "php_stdint.h"
2013-08-06 22:49:56 +02:00
Christopher Jones
4c3c9d1fe5 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix long-standing visual pain point: the misalignment of './configure help' text. Whitespace changes and a couple of grammar fixes.
2013-08-06 11:09:12 -07:00
Christopher Jones
c6d977dd39 Fix long-standing visual pain point: the misalignment of './configure help' text.
Whitespace changes and a couple of grammar fixes.
2013-08-06 11:06:09 -07:00
Christopher Jones
85b66e9e21 OCI8 extension: Allow Implicit Result Set statement resources to inherit the parent's current prefetch count 2013-07-26 13:34:45 -07:00
Christopher Jones
586fc4909e Fix --enable-maintainer-zts mode in OCI8 2.0 2013-07-25 16:15:32 -07:00
Christopher Jones
fe98ffc227 Update UPGRADING and make typo fixes to OCI8 package.xml 2013-07-25 10:54:03 -07:00
Christopher Jones
bfc3c223da Initial PHP OCI8 2.0.0-dev commit.
Includes Oracle Database 12c Implicit Result Set support, DTrace
support, and various code cleanups.

See package.xml for details.
2013-07-24 15:33:22 -07:00
Veres Lajos
1b06e0be96 typo fixes 2013-07-15 00:19:49 -07:00
Veres Lajos
72085b0e5f typo fixes 2013-07-15 00:18:57 -07:00
Christopher Jones
6ac7c9d0a7 Bump PECL package info version check to allow PECL installs with PHP 5.5+ 2013-07-08 13:32:04 -07:00
Stanislav Malyshev
02e4d7a290 Merge branch 'pull-request/341'
* pull-request/341: (23 commits)
  typofixes
2013-06-10 14:30:59 -07:00
Carson McDonald
0c11cab919 Typo fix: recieved to received 2013-03-07 23:05:05 +01:00
Xinchen Hui
a666285bc2 Happy New Year 2013-01-01 16:37:09 +08:00
Christopher Jones
7d59b2264e Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  Re-fixed bug #60901 (Improve "tail" syntax for AIX installation)
2012-10-21 22:21:46 -07:00
Christopher Jones
dbb72de6c7 Re-fixed bug #60901 (Improve "tail" syntax for AIX installation)
The original fix broke Solaris installs of OCI8
2012-10-21 22:17:47 -07:00
Christopher Jones
85b0eda4c8 Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  Fixed bug #63307 (Unused variable in oci8.c)
  Fixed bug #63265 (Add ORA-00028 to the PHP_OCI_HANDLE_ERROR macro)
2012-10-18 17:57:19 -07:00
Christopher Jones
af14da5714 Fixed bug #63307 (Unused variable in oci8.c)
An output section for oci_internal_debug() was setting but not using a variable
2012-10-18 17:53:00 -07:00
Christopher Jones
131dd88505 Fixed bug #63265 (Add ORA-00028 to the PHP_OCI_HANDLE_ERROR macro)
Improve high availability for explicitly terminated connections.
2012-10-18 17:33:51 -07:00
Christopher Jones
3b38d14caf Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  Change package.xml fix description
  Fixed bug #60901 (Improve "tail" syntax for AIX installation)
2012-09-13 22:44:12 -07:00
Christopher Jones
9f44844d7c Change package.xml fix description 2012-09-13 22:43:10 -07:00
Christopher Jones
bbf5978e26 Fixed bug #60901 (Improve "tail" syntax for AIX installation) 2012-09-13 22:40:55 -07:00
Christopher Jones
c9265b1acd Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  Fix skipifs
2012-08-14 14:13:03 -07:00
Christopher Jones
6524a530df Fix skipifs
Skipifs were referencing an unset variable
2012-08-14 14:10:20 -07:00
Christopher Jones
2b934dfdf9 Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  Small test tidy up
2012-08-14 11:45:24 -07:00
Christopher Jones
8c3bf96022 Small test tidy up
Make some test changes so the tests can be run with the CLI webserver
2012-08-14 11:41:36 -07:00
Xinchen Hui
8091256948 Merge branch 'PHP-5.3' into PHP-5.4 2012-08-14 14:03:05 +08:00
Reeze Xia
0239437903 Skip tests reply on Zend MM turned on
Those two tests have expect memory exhausted fatal error
2012-08-11 00:34:37 +08:00
Xinchen Hui
c6ad98975e Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  Skip test while zend mm is disabled
2012-07-29 13:26:05 +08:00
Xinchen Hui
880a6cee00 Skip test while zend mm is disabled 2012-07-29 13:25:31 +08:00
Christopher Jones
aa774a51d5 Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  Add php.ini parameter checks for OCI8
2012-03-30 16:17:37 -07:00
Christopher Jones
c56cfbd234 Add php.ini parameter checks for OCI8
Add tests for OCI8 php.ini parameters particularly to check
which parameters can be changes with ini_set().
2012-03-30 16:12:25 -07:00
Christopher Jones
00b4862167 Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  Update README
2012-03-27 11:54:05 -07:00
Christopher Jones
968a330220 Update README
More updates to OCI8 README as an excuse to try the PHP multi-dir git
workflow instructions.
2012-03-27 11:19:33 -07:00
Christopher Jones
7164175e85 Add initialization tests for SQLT_INT binds
Added tests for SQLT_INT binds particularly to check for uninitialized
variables.
2012-03-22 13:24:46 -07:00
Christopher Jones
ab825fdc24 Merge branch 'PHP-5.3' of ../php-5.3 into PHP-5.4
* 'PHP-5.3' of ../php-5.3:
  Add initialization tests for SQLT_INT binds
2012-03-21 16:14:51 -07:00
Christopher Jones
fe5785d92b Add initialization tests for SQLT_INT binds
Added tests for SQLT_INT binds particularly to check for uninitialized
variables.
2012-03-21 16:12:28 -07:00
David Soria Parra
c918ca57a7 Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  Replace $Revision$ with $Id$ in keyword expansion enable files
  Enable $Id$ expansion for files with the $Revision$ keyword

Conflicts:
	ext/mysqlnd/mysqlnd.h
2012-03-20 17:58:58 +01:00
David Soria Parra
f7b10abae9 Replace $Revision$ with $Id$ in keyword expansion enable files 2012-03-20 17:53:47 +01:00
Christopher Jones
08f586984f Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  Minor text changes (to try new git repo)
2012-03-19 15:18:06 -07:00
Christopher Jones
4a6d9b348f Minor text changes (to try new git repo) 2012-03-19 15:16:33 -07:00
Christopher Jones
19c0803b77 Test portability and coverage changes 2012-03-12 18:08:34 +00:00
Christopher Jones
b1575ce9af Test portability and coverage changes 2012-03-12 18:08:34 +00:00
Felipe Pena
e4ca0ed09f - Year++ 2012-01-01 13:15:04 +00:00
Felipe Pena
4e19825281 - Year++ 2012-01-01 13:15:04 +00:00
Christopher Jones
57de041b14 r319456 also fixed the OCI8 part of #55301 (multiple null pointer) 2011-11-18 18:14:15 +00:00
Christopher Jones
1a30e9dd33 r319456 also fixed the OCI8 part of #55301 (multiple null pointer) 2011-11-18 18:14:15 +00:00
Christopher Jones
092a21cde3 Sync to 5.3 and check additional cases for #55748 2011-11-18 09:59:35 +00:00
Christopher Jones
28cfee291e Sync to 5.3 and check additional cases for #55748 2011-11-18 09:59:35 +00:00
Stanislav Malyshev
77d0643b68 fixes for bug #55748 2011-11-18 07:11:19 +00:00
Christopher Jones
0c00f3a15c OCI8: Fixed bug #59985 (show normal warning text for OCI_NO_DATA). Sync NEWS. 2011-11-10 22:47:00 +00:00
Christopher Jones
4827f5c5d7 OCI8: Fixed bug #59985 (show normal warning text for OCI_NO_DATA). Sync NEWS. 2011-11-10 22:47:00 +00:00
Christopher Jones
1437890872 Add tests for unsupported types 2011-11-09 06:19:07 +00:00
Christopher Jones
8006a6723c Add tests for unsupported types 2011-11-09 06:19:07 +00:00
Christopher Jones
b44adcd5ce Improve OCI8 NLS env creation error messages (#58925) 2011-11-07 20:10:41 +00:00
Christopher Jones
76d68f8dbd Improve OCI8 NLS env creation error messages (#58925) 2011-11-07 20:10:41 +00:00
Christopher Jones
acd96cdebe Bump OCI8 version to 1.4.7 stable in preparation for PHP 5.3.9 2011-11-03 22:13:34 +00:00
Christopher Jones
0a2bf3ee32 Bump OCI8 version to 1.4.7 stable in preparation for PHP 5.3.9 2011-11-03 22:13:34 +00:00
Christopher Jones
2e6db16f51 Replace custom "stress_test" setting with generic SKIP_SLOW_TESTS 2011-11-03 21:52:59 +00:00
Christopher Jones
623b4231b5 Replace custom "stress_test" setting with generic SKIP_SLOW_TESTS 2011-11-03 21:52:59 +00:00
Christopher Jones
8b4890e18e Update for new Oracle patchset variation 2011-11-01 21:30:57 +00:00
Christopher Jones
735efbdd04 Update for new Oracle patchset variation 2011-11-01 21:30:57 +00:00
Christopher Jones
677c7c974b OCI8: improve initialization error message (See bug 60154) 2011-10-31 20:48:25 +00:00
Christopher Jones
c4eb5f2387 OCI8: improve initialization error message (See bug 60154) 2011-10-31 20:48:25 +00:00
Christopher Jones
89a4d34646 oci8 - Increase Oracle error message length for 11.2.0.3+ 2011-10-25 22:01:42 +00:00
Christopher Jones
8eb4386c87 oci8 - Increase Oracle error message length for 11.2.0.3+ 2011-10-25 22:01:42 +00:00
Christopher Jones
bf9933573a Test portability fix 2011-09-16 19:56:32 +00:00
Christopher Jones
b5edcb56cb Test portability fix 2011-09-16 19:56:32 +00:00
Christopher Jones
19d13e2521 Use unique object names to reduce potential clashes when testing in parallel 2011-09-07 19:19:00 +00:00
Christopher Jones
ff02132caf Use unique object names to reduce potential clashes when testing in parallel 2011-09-07 19:19:00 +00:00
Christopher Jones
dbf744ad78 Sync date with actual PECL release date for correctness 2011-08-22 23:56:34 +00:00
Christopher Jones
9e830aa505 Sync date with actual PECL release date for correctness 2011-08-22 23:56:34 +00:00
Christopher Jones
5ef712fd46 Remove duplicated test 2011-08-22 18:05:11 +00:00
Christopher Jones
f2b8b4879d More test portability fixes mostly for gcov.php.net 2011-08-13 00:43:34 +00:00
Christopher Jones
b53451b99e More test portability fixes mostly for gcov.php.net 2011-08-13 00:43:34 +00:00
Christopher Jones
ae1baaa592 Improve test portabilty 2011-08-05 22:18:50 +00:00
Christopher Jones
1970c23d86 Improve test portabilty 2011-08-05 22:18:50 +00:00
Christopher Jones
57536d31eb Add explicit casts to remove some of Pierre's snapshot build warnings 2011-07-27 00:04:47 +00:00
Christopher Jones
cf8bf9f2f0 Add explicit casts to remove some of Pierre's snapshot build warnings 2011-07-27 00:04:23 +00:00
Christopher Jones
987db5f747 Fix cast warning seen on some platforms 2011-07-25 23:40:57 +00:00
Christopher Jones
e2f5272dac Fix cast warning seen on some platforms 2011-07-25 23:40:57 +00:00
Christopher Jones
f330e9fc08 Patch r313663 and r313665 to allow PECL builds to work with earlier releases 2011-07-25 17:30:09 +00:00
Christopher Jones
fc83d523b8 Patch r313663 and r313665 to allow PECL builds to work with earlier releases 2011-07-25 17:30:09 +00:00
Christopher Jones
a746dbb579 Remove old testname. This file now diverges from PHP_5_3 2011-07-25 17:25:47 +00:00
Christopher Jones
99049e2fdd Update skipif 2011-07-25 17:22:48 +00:00
Christopher Jones
6effbcb140 Update skipif 2011-07-25 17:22:48 +00:00
Felipe Pena
23e438594d - Make usage of new PHP_FE_END macro 2011-07-25 11:42:53 +00:00
Felipe Pena
4b30846b50 - Make usage of new PHP_FE_END macro 2011-07-25 11:35:02 +00:00
Christopher Jones
cf6b208cab missed version sync with 5.4 2011-06-27 17:24:55 +00:00
Christopher Jones
af482a4fc8 Improve cross version compat 2011-06-14 20:04:18 +00:00
Christopher Jones
ea2cad7e76 Fix TSRMLS for Windows build 2011-06-11 00:24:26 +00:00
Christopher Jones
17af8b0179 Fix TSRMLS for Windows build 2011-06-11 00:24:26 +00:00
Christopher Jones
7bc6fbc448 Bump OCI8 version to stable in preparation for 5.3.7 RC 2011-06-10 20:01:46 +00:00
Christopher Jones
c7a8bd6a4c Add new OCI8 tests. Refactor skipifs. Sync 5.3/5.4/trunk branches 2011-06-10 19:16:35 +00:00
Christopher Jones
a643bda32d Add new OCI8 tests. Refactor skipifs. Sync 5.3/5.4/trunk branches 2011-06-10 19:16:35 +00:00
Christopher Jones
f4009b52a3 Add oci_client_version() returning the runtime Oracle client library version - predominantly useful for the test suite 2011-06-10 17:38:07 +00:00
Christopher Jones
199510ef07 Add oci_client_version() returning the runtime Oracle client library version - predominantly useful for the test suite 2011-06-10 17:38:07 +00:00
Christopher Jones
bc0d535f5a Missed trivial comment sync with PHP_5_4 and trunk 2011-06-10 17:16:00 +00:00
Felipe Pena
ddaddf6c2a s/valid path/a valid path/ 2011-06-08 00:53:55 +00:00
Christopher Jones
031085e0a9 Sync OCI8 branches. Allow 'pecl install' to work on both PHP 5.3 & 5.4 2011-06-07 23:53:02 +00:00
Christopher Jones
707e6dac61 Sync OCI8 branches. Allow 'pecl install' to work on both PHP 5.3 & 5.4 2011-06-07 23:53:02 +00:00
Christopher Jones
a3ddc02e8e Update tests to match Felipe's null byte arg parsing change 2011-06-07 20:58:08 +00:00
Felipe Pena
32b5f8a1a3 - Added new parameter parsing option (p - for valid path (string without null byte in the middle))
# The tests will be fixed in the next commits
2011-06-06 21:28:16 +00:00
Christopher Jones
ef777fc18e Refactor OCI8 config.m4: improve messages and merge similar conditionals 2011-03-29 21:37:45 +00:00
Christopher Jones
92ecff668f Refactor OCI8 config.m4: improve messages and merge similar conditionals 2011-03-29 21:37:45 +00:00
Felipe Pena
927bf09c29 - Year++ 2011-01-01 02:19:59 +00:00
Felipe Pena
0203cc3d44 - Year++ 2011-01-01 02:17:06 +00:00
Christopher Jones
1894d8df0b Update for PECL upload that is synced with PHP 5.3.4 2010-12-10 04:36:29 +00:00
Christopher Jones
35c47c58df Update for PECL upload that is synced with PHP 5.3.4 2010-12-10 04:36:29 +00:00
Christopher Jones
24c87d760d Remove OCI8 devel status in preparation for PHP 5.3.4 release 2010-12-01 23:30:28 +00:00
Christopher Jones
0f217b0c93 Remove OCI8 devel status in preparation for PHP 5.3.4 release 2010-12-01 23:30:28 +00:00
Christopher Jones
c8462df127 Remove unreverted duplicate fix for nulls 2010-11-20 01:29:03 +00:00
Pierre Joye
ff26185322 - revert part of the null fix, was already applied by Chris 2010-11-18 16:16:26 +00:00
Pierre Joye
ce96fd6b07 - fix #39863, do not accept paths with NULL in them. See http://news.php.net/php.internals/50191, trunk will have the patch later (adding a macro and/or changing (some) APIs. Patch by Rasmus 2010-11-18 15:22:22 +00:00
Christopher Jones
2bc233e856 Improve test cross- DB version portability 2010-11-16 20:50:29 +00:00
Christopher Jones
1cf06684f5 Improve test cross- DB version portability 2010-11-16 20:50:29 +00:00
Christopher Jones
314c9b9233 Protect against null bytes in LOB filenames (rasmus) 2010-11-16 19:33:31 +00:00
Christopher Jones
2ea52b1fb4 Protect against null bytes in LOB filenames (rasmus) 2010-11-16 19:33:31 +00:00
Christopher Jones
29280516e2 Prepare for PECL OCI8 1.4.4 2010-11-10 19:08:13 +00:00
Christopher Jones
f4b2664e2c Prepare for PECL OCI8 1.4.4 2010-11-10 19:08:13 +00:00
Christopher Jones
eba1db126c Improve startup failure error messages 2010-11-10 18:59:56 +00:00
Christopher Jones
29bdf30880 Improve startup failure error messages 2010-11-10 18:59:56 +00:00
Christopher Jones
b2b1a53031 Fixed bug #53284 (Valgrind warnings in oci_set_* functions) 2010-11-10 18:49:55 +00:00
Christopher Jones
7a42845d80 Fixed bug #53284 (Valgrind warnings in oci_set_* functions) 2010-11-10 18:49:55 +00:00
Christopher Jones
d21b028281 Improve test portability 2010-11-10 18:46:05 +00:00
Christopher Jones
2bf58d8c70 Improve test portability 2010-11-10 18:46:05 +00:00
Pierre Joye
aa0ed267a2 - use TSRMLS_*C instead of TSRMLS_FETCH in zend_list_insert 2010-09-16 09:13:19 +00:00
Kalle Sommer Nielsen
8deefa8780 Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED (Fixes #52570)
# Trunk patch will follow shortly
2010-08-11 21:12:18 +00:00
Christopher Jones
d0dc4810eb 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
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
a59ffde6bc Release PECL OCI8 1.4.2 2010-08-06 22:12:48 +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
22458ed4d5 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
Christopher Jones
86544f5971 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
Pierre Joye
55320ca1b8 - fix build (declaration must be first) 2010-05-03 19:29:05 +00:00
Christopher Jones
c033a81b50 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
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
9b3e080098 Mask schemaname in error messages 2010-04-28 17:26:59 +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
eb0a3ff1af Initialize vars to prevent valgrind warnings in some cases 2010-04-24 00:44:56 +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
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