1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 23:48:14 +02:00
Commit Graph

145 Commits

Author SHA1 Message Date
Christopher Jones 6524a530df Fix skipifs
Skipifs were referencing an unset variable
2012-08-14 14:10:20 -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
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 880a6cee00 Skip test while zend mm is disabled 2012-07-29 13:25:31 +08: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 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 19c0803b77 Test portability and coverage changes 2012-03-12 18:08:34 +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 1437890872 Add tests for unsupported types 2011-11-09 06:19:07 +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 8b4890e18e Update for new Oracle patchset variation 2011-11-01 21:30:57 +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 bf9933573a 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 f2b8b4879d 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 99049e2fdd Update skipif 2011-07-25 17:22:48 +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 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 2bc233e856 Improve test cross- DB version portability 2010-11-16 20:50:29 +00:00
Christopher Jones 2ea52b1fb4 Protect against null bytes in LOB filenames (rasmus) 2010-11-16 19:33:31 +00:00
Christopher Jones 2bf58d8c70 Improve test portability 2010-11-10 18:46:05 +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 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 9b3e080098 Mask schemaname in error messages 2010-04-28 17:26:59 +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 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 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 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
Christopher Jones 1aebd220f8 Add new 'fetch' test and make several small test fixes 2009-12-10 19:07:08 +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 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 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