mirror of
https://github.com/php/php-src.git
synced 2025-08-16 22:18:50 +02:00
Skip oci8 tests when no database is available (#11820)
Most oci8 tests fail out-of-the-box because a typical host won't have an Oracle database instance available. Other database drivers like mysqli and pgsql address this problem with an include file, inserted into SKIPIF, that skips the test if no connection at all can be made. This commits adds such a file (skipifconnectfailure.inc) for oci8, and adds the corresponding SKIPIF to any tests that connect to a database. Closes GH-11804 * ext/oci8/tests/lob_aliases.phpt: drop unnecessary SKIPIF.
This commit is contained in:
parent
82aa4253f1
commit
605c60cd5f
319 changed files with 627 additions and 18 deletions
|
@ -2,6 +2,10 @@
|
||||||
oci_bind_array_by_name() and invalid values 1
|
oci_bind_array_by_name() and invalid values 1
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
oci8
|
oci8
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
oci_bind_array_by_name() and invalid values 2
|
oci_bind_array_by_name() and invalid values 2
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
oci8
|
oci8
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@ oci_bind_array_by_name() and invalid values 3
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ oci_bind_array_by_name() and invalid values 4
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ oci_bind_array_by_name() and invalid values 5
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ oci_bind_array_by_name(), SQLT_CHR and default max_length
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
oci_bind_array_by_name() and invalid values 7
|
oci_bind_array_by_name() and invalid values 7
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
oci8
|
oci8
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@ oci_bind_array_by_name() and invalid values 8
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
oci_bind_array_by_name() and invalid values 9
|
oci_bind_array_by_name() and invalid values 9
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
oci8
|
oci8
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
oci_bind_array_by_name() and invalid values 8
|
oci_bind_array_by_name() and invalid values 8
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
oci8
|
oci8
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
oci_bind_array_by_name(), SQLT_CHR, default max_length and empty array
|
oci_bind_array_by_name(), SQLT_CHR, default max_length and empty array
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
oci8
|
oci8
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
oci_bind_array_by_name(), SQLT_CHR, default max_length and empty array
|
oci_bind_array_by_name(), SQLT_CHR, default max_length and empty array
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
oci8
|
oci8
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
oci_bind_array_by_name(), SQLT_CHR, default max_length and empty array
|
oci_bind_array_by_name(), SQLT_CHR, default max_length and empty array
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
oci8
|
oci8
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@ oci_bind_array_by_name() and NUMBERs
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ Unsupported type: oci_bind_array_by_name() and SQLT_BDOUBLE
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
if (!defined('SQLT_BDOUBLE')) die('skip SQLT_BDOUBLE type not available on older Oracle clients');
|
if (!defined('SQLT_BDOUBLE')) die('skip SQLT_BDOUBLE type not available on older Oracle clients');
|
||||||
|
|
|
@ -4,6 +4,7 @@ Unsupported type: oci_bind_array_by_name() and SQLT_BFLOAT
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
if (!defined('SQLT_BFLOAT')) die('skip SQLT_BFLOAT type not available on older Oracle clients');
|
if (!defined('SQLT_BFLOAT')) die('skip SQLT_BFLOAT type not available on older Oracle clients');
|
||||||
|
|
|
@ -4,6 +4,7 @@ oci_bind_array_by_name() and SQLT_ODT
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ oci_bind_array_by_name() and SQLT_ODT
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ oci_bind_array_by_name() and SQLT_FLT
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ oci_bind_array_by_name() and SQLT_FLT
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ oci_bind_array_by_name() and SQLT_INT
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ oci_bind_array_by_name() and SQLT_INT
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ oci_bind_array_by_name() and SQLT_CHR
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ oci_bind_array_by_name() and SQLT_CHR
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ Unsupported type: oci_bind_array_by_name() and SQLT_UIN
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #47243 (Crash on exit with ZTS mode)
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #47243 (Crash on exit with ZTS mode)
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #47243 (Crash on exit with ZTS mode)
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ Basic PL/SQL "BOOLEAN" (SQLT_BOL) bind test
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
require(__DIR__.'/connect.inc');
|
require(__DIR__.'/connect.inc');
|
||||||
preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
|
preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
|
||||||
if (!(isset($matches[0]) && $matches[1] >= 12)) {
|
if (!(isset($matches[0]) && $matches[1] >= 12)) {
|
||||||
|
|
|
@ -4,6 +4,7 @@ SELECT oci_bind_by_name with SQLT_AFC aka CHAR
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
require(__DIR__."/connect.inc");
|
require(__DIR__."/connect.inc");
|
||||||
// The bind buffer size edge cases seem to change each DB version.
|
// The bind buffer size edge cases seem to change each DB version.
|
||||||
preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
|
preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
|
||||||
|
|
|
@ -4,6 +4,7 @@ SELECT oci_bind_by_name with SQLT_AFC aka CHAR and dates
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
require(__DIR__."/connect.inc");
|
require(__DIR__."/connect.inc");
|
||||||
// The bind buffer size edge cases seem to change each DB version.
|
// The bind buffer size edge cases seem to change each DB version.
|
||||||
preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
|
preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
|
||||||
|
|
|
@ -4,6 +4,7 @@ PL/SQL oci_bind_by_name with SQLT_AFC aka CHAR to CHAR parameter
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
require(__DIR__."/connect.inc");
|
require(__DIR__."/connect.inc");
|
||||||
// The bind buffer size edge cases seem to change each DB version.
|
// The bind buffer size edge cases seem to change each DB version.
|
||||||
preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
|
preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
|
||||||
|
|
|
@ -4,6 +4,7 @@ PL/SQL oci_bind_by_name with SQLT_AFC aka CHAR to VARCHAR2 parameter
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
require(__DIR__."/connect.inc");
|
require(__DIR__."/connect.inc");
|
||||||
// The bind buffer size edge cases seem to change each DB version.
|
// The bind buffer size edge cases seem to change each DB version.
|
||||||
preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
|
preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
binding empty values
|
binding empty values
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
oci8
|
oci8
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@ bind LONG field
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ bind LONG RAW field
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bind miscellaneous column types using default types
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
Bind miscellaneous column types and generating errors
|
Bind miscellaneous column types and generating errors
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
oci8
|
oci8
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
Bind with NUMBER column variants
|
Bind with NUMBER column variants
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
oci8
|
oci8
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
|
?>
|
||||||
--INI--
|
--INI--
|
||||||
precision = 14
|
precision = 14
|
||||||
--FILE--
|
--FILE--
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
Bind with various WHERE conditions
|
Bind with various WHERE conditions
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
oci8
|
oci8
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@ bind RAW field
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ bind RAW field with OCI_B_BIN
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
Test ROWID bind
|
Test ROWID bind
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
oci8
|
oci8
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
Bind tests with SQLT_AFC
|
Bind tests with SQLT_AFC
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
oci8
|
oci8
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
Bind with SQLT_CHR
|
Bind with SQLT_CHR
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
oci8
|
oci8
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
PL/SQL bind with SQLT_CHR
|
PL/SQL bind with SQLT_CHR
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
oci8
|
oci8
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
Bind with SQLT_INT
|
Bind with SQLT_INT
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
oci8
|
oci8
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bind with SQLT_NUM
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
preg_match('/^[[:digit:]]+/', oci_client_version(), $matches);
|
preg_match('/^[[:digit:]]+/', oci_client_version(), $matches);
|
||||||
if (!(isset($matches[0]) && $matches[0] >= 12)) {
|
if (!(isset($matches[0]) && $matches[0] >= 12)) {
|
||||||
die("skip works only with Oracle 12c or greater version of Oracle client libraries");
|
die("skip works only with Oracle 12c or greater version of Oracle client libraries");
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
Bind with various unsupported bind types
|
Bind with various unsupported bind types
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
oci8
|
oci8
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
Bind with various unsupported 10g+ bind types
|
Bind with various unsupported 10g+ bind types
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
oci8
|
oci8
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bind with various bind types not supported by TimesTen
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => false, 'timesten' => true); // test runs on these DBs
|
$target_dbs = array('oracledb' => false, 'timesten' => true); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
Bug #26133 (ocifreedesc() segfault)
|
Bug #26133 (ocifreedesc() segfault)
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
oci8
|
oci8
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #27303 (OCIBindByName binds numeric PHP values as characters)
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
require(__DIR__."/connect.inc");
|
require(__DIR__."/connect.inc");
|
||||||
// The bind buffer size edge cases seem to change each DB version.
|
// The bind buffer size edge cases seem to change each DB version.
|
||||||
preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
|
preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #27303 (OCIBindByName binds numeric PHP values as characters)
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
require(__DIR__."/connect.inc");
|
require(__DIR__."/connect.inc");
|
||||||
// The bind buffer size edge cases seem to change each DB version.
|
// The bind buffer size edge cases seem to change each DB version.
|
||||||
preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
|
preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
Bug #27303 (OCIBindByName binds numeric PHP values as characters)
|
Bug #27303 (OCIBindByName binds numeric PHP values as characters)
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
oci8
|
oci8
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #27303 (OCIBindByName binds numeric PHP values as characters)
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
require(__DIR__."/connect.inc");
|
require(__DIR__."/connect.inc");
|
||||||
// The bind buffer size edge cases seem to change each DB version.
|
// The bind buffer size edge cases seem to change each DB version.
|
||||||
preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
|
preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #32325 (Cannot retrieve collection using OCI8)
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #35973 (Error ORA-24806 occurs when trying to fetch a NCLOB field)
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #36010 (Crash when executing SQL statement with lob parameter twice)
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
Bug #36096 (oci_result() returns garbage after oci_fetch() failed)
|
Bug #36096 (oci_result() returns garbage after oci_fetch() failed)
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
oci8
|
oci8
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
Bug #36403 (oci_execute no longer supports OCI_DESCRIBE_ONLY)
|
Bug #36403 (oci_execute no longer supports OCI_DESCRIBE_ONLY)
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
oci8
|
oci8
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #37220 (LOB Type mismatch when using windows & oci8.dll)
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #37581 (oci_bind_array_by_name clobbers input array when using SQLT_AFC, AVC
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
Bug #38161 (oci_bind_by_name() returns garbage when Oracle didn't set the variable)
|
Bug #38161 (oci_bind_by_name() returns garbage when Oracle didn't set the variable)
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
oci8
|
oci8
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #38173 (Freeing nested cursors causes OCI8 to segfault)
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #40078 (ORA-01405 when fetching NULL values using oci_bind_array_by_name())
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #40415 (Using oci_fetchall with nested cursors)
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #41069 (Oracle crash with certain data over a DB-link when prefetch memory l
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
if (empty($dbase)) die ("skip requires network connection alias for DB link loopback");
|
if (empty($dbase)) die ("skip requires network connection alias for DB link loopback");
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #42134 (Collection error for invalid collection name)
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #42173 (TIMESTAMP and INTERVAL query and field functions)
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,9 +4,10 @@ Bug #42496 (LOB fetch leaks cursors, eventually failing with ORA-1000 maximum op
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
if (getenv('SKIP_SLOW_TESTS')) die('skip slow tests excluded by request');
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
if (getenv('SKIP_SLOW_TESTS')) die('skip slow tests excluded by request');
|
|
||||||
?>
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -4,9 +4,10 @@ Bug #42496 (LOB fetch leaks cursors, eventually failing with ORA-1000 maximum op
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
if (getenv('SKIP_SLOW_TESTS')) die('skip slow tests excluded by request');
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
if (getenv('SKIP_SLOW_TESTS')) die('skip slow tests excluded by request');
|
|
||||||
?>
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #42841 (REF CURSOR and oci_new_cursor PHP crash)
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #43492 (Nested cursor leaks)
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #43492 (Nested cursor leaks after related bug #44206 fixed)
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #43497 (OCI8 XML/getClobVal aka temporary LOBs leak UGA memory)
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
if (getenv('SKIP_SLOW_TESTS')) die('skip slow tests excluded by request');
|
if (getenv('SKIP_SLOW_TESTS')) die('skip slow tests excluded by request');
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #44008 (Incorrect usage of OCILob->close crashes PHP)
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #44113 (New collection creation can fail with OCI-22303)
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
if (getenv('SKIP_SLOW_TESTS')) die('skip slow tests excluded by request');
|
if (getenv('SKIP_SLOW_TESTS')) die('skip slow tests excluded by request');
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #44206 (Test if selecting ref cursors leads to ORA-1000 maximum open cursors
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
Bug #45458 (OCI8: Numeric keys for associative arrays are not handled properly)
|
Bug #45458 (OCI8: Numeric keys for associative arrays are not handled properly)
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
oci8
|
oci8
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #46994 (CLOB size does not update when using CLOB IN OUT param in stored pro
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #47189 (Multiple oci_fetch_all calls)
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs: different error handling for this undefined behavior
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs: different error handling for this undefined behavior
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #47281 ($php_errormsg is limited in size of characters)
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
// error3.phpt obsoletes this test for newer Oracle client versions
|
// error3.phpt obsoletes this test for newer Oracle client versions
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #47281 ($php_errormsg is limited in size of characters)
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => false, 'timesten' => true); // test runs on these DBs: shorter message length in TimesTen
|
$target_dbs = array('oracledb' => false, 'timesten' => true); // test runs on these DBs: shorter message length in TimesTen
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #51253 (oci_bind_array_by_name() array references)
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
Bug #51291 (oci_error() doesn't report last error when called two times)
|
Bug #51291 (oci_error() doesn't report last error when called two times)
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
oci8
|
oci8
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #51291 (oci_error() doesn't report last error when called two times)
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs: different error messages from TimesTen
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs: different error messages from TimesTen
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -5,6 +5,7 @@ oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platforms only");
|
if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platforms only");
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
?>
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -9,6 +9,7 @@ mbstring
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #71448 (Binding reference overwritten on php7)
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => true); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => true); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
Bug #71422 (Fix ORA-01438: value larger than specified precision allowed for this column)
|
Bug #71422 (Fix ORA-01438: value larger than specified precision allowed for this column)
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
oci8
|
oci8
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #71600 (oci_fetch_all result in segfault when select more than 8 columns)
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => true); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => true); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ Bug #72524 (Binding null values triggers ORA-24816 error)
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => true); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => true); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
Bug #74625 (Integer overflow in oci_bind_array_by_name)
|
Bug #74625 (Integer overflow in oci_bind_array_by_name)
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
oci8
|
oci8
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
require(__DIR__.'/connect.inc');
|
require(__DIR__.'/connect.inc');
|
||||||
|
|
|
@ -5,6 +5,7 @@ oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
if (getenv('SKIP_SLOW_TESTS')) die('skip slow tests excluded by request');
|
if (getenv('SKIP_SLOW_TESTS')) die('skip slow tests excluded by request');
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
if (strcasecmp($user, "system") && strcasecmp($user, "sys")) {
|
if (strcasecmp($user, "system") && strcasecmp($user, "sys")) {
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
connect/close/connect
|
connect/close/connect
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
oci8
|
oci8
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@ oci_new_collection()
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ oci_new_collection() + free()
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ oci_new_collection() + free()
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@ collection methods
|
||||||
oci8
|
oci8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
require_once('skipifconnectfailure.inc');
|
||||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||||
require(__DIR__.'/skipif.inc');
|
require(__DIR__.'/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue