Skip to content

Commit 3fd6aad

Browse files
committed
Port oci8
1 parent 17440b6 commit 3fd6aad

File tree

204 files changed

+365
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

204 files changed

+365
-2
lines changed

ext/oci8/tests/array_bind_003.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
oci_bind_array_by_name() and invalid values 3
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/array_bind_004.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
oci_bind_array_by_name() and invalid values 4
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/array_bind_005.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
oci_bind_array_by_name() and invalid values 5
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/array_bind_006.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
oci_bind_array_by_name(), SQLT_CHR and default max_length
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/array_bind_008.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
oci_bind_array_by_name() and invalid values 8
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/array_bind_014.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
oci_bind_array_by_name() and NUMBERs
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/array_bind_bdouble.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Unsupported type: oci_bind_array_by_name() and SQLT_BDOUBLE
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/array_bind_bfloat.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Unsupported type: oci_bind_array_by_name() and SQLT_BFLOAT
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/array_bind_date.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
oci_bind_array_by_name() and SQLT_ODT
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/array_bind_date1.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
oci_bind_array_by_name() and SQLT_ODT
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/array_bind_float.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
oci_bind_array_by_name() and SQLT_FLT
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/array_bind_float1.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
oci_bind_array_by_name() and SQLT_FLT
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/array_bind_int.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
oci_bind_array_by_name() and SQLT_INT
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/array_bind_int1.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
oci_bind_array_by_name() and SQLT_INT
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/array_bind_str.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
oci_bind_array_by_name() and SQLT_CHR
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/array_bind_str1.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
oci_bind_array_by_name() and SQLT_CHR
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/array_bind_uin.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Unsupported type: oci_bind_array_by_name() and SQLT_UIN
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/b47243_1.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #47243 (Crash on exit with ZTS mode)
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/b47243_2.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #47243 (Crash on exit with ZTS mode)
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/b47243_3.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #47243 (Crash on exit with ZTS mode)
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/bind_long.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
bind LONG field
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/bind_long_raw.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
bind LONG RAW field
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/bind_misccoltypes.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bind miscellaneous column types using default types
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/bind_raw.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
bind RAW field
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/bind_raw_2.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
bind RAW field with OCI_B_BIN
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/bind_unsupported_3.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bind with various bind types not supported by TimesTen
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => false, 'timesten' => true); // test runs on these DBs

ext/oci8/tests/bug32325.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #32325 (Cannot retrieve collection using OCI8)
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/bug35973.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #35973 (Error ORA-24806 occurs when trying to fetch a NCLOB field)
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/bug36010.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #36010 (Crash when executing SQL statement with lob parameter twice)
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/bug37220.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #37220 (LOB Type mismatch when using windows & oci8.dll)
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/bug37581.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #37581 (oci_bind_array_by_name clobbers input array when using SQLT_AFC, AVC)
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/bug38173.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #38173 (Freeing nested cursors causes OCI8 to segfault)
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/bug40078.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #40078 (ORA-01405 when fetching NULL values using oci_bind_array_by_name())
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/bug40415.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #40415 (Using oci_fetchall with nested cursors)
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/bug41069.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #41069 (Oracle crash with certain data over a DB-link when prefetch memory limit used - Oracle bug 6039623)
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/bug42134.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #42134 (Collection error for invalid collection name)
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/bug42173.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #42173 (TIMESTAMP and INTERVAL query and field functions)
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/bug42496_1.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #42496 (LOB fetch leaks cursors, eventually failing with ORA-1000 maximum open cursors reached)
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/bug42496_2.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #42496 (LOB fetch leaks cursors, eventually failing with ORA-1000 maximum open cursors reached)
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/bug42841.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #42841 (REF CURSOR and oci_new_cursor PHP crash)
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/bug43492.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #43492 (Nested cursor leaks)
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/bug43492_2.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #43492 (Nested cursor leaks after related bug #44206 fixed)
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/bug43497.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #43497 (OCI8 XML/getClobVal aka temporary LOBs leak UGA memory)
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/bug44008.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #44008 (Incorrect usage of OCILob->close crashes PHP)
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/bug44113.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #44113 (New collection creation can fail with OCI-22303)
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/bug44206.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #44206 (Test if selecting ref cursors leads to ORA-1000 maximum open cursors reached)
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/bug46994.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #46994 (CLOB size does not update when using CLOB IN OUT param in stored procedure)
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/bug47189.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #47189 (Multiple oci_fetch_all calls)
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs: different error handling for this undefined behavior

ext/oci8/tests/bug47281.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #47281 ($php_errormsg is limited in size of characters)
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs

ext/oci8/tests/bug47281_tt.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #47281 ($php_errormsg is limited in size of characters)
3+
--EXTENSIONS--
4+
oci8
35
--SKIPIF--
46
<?php
57
$target_dbs = array('oracledb' => false, 'timesten' => true); // test runs on these DBs: shorter message length in TimesTen

0 commit comments

Comments
 (0)