summaryrefslogtreecommitdiff
path: root/ext/oci8/tests/bug26133.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/oci8/tests/bug26133.phpt')
-rw-r--r--ext/oci8/tests/bug26133.phpt36
1 files changed, 0 insertions, 36 deletions
diff --git a/ext/oci8/tests/bug26133.phpt b/ext/oci8/tests/bug26133.phpt
deleted file mode 100644
index d3f0ed9bf3..0000000000
--- a/ext/oci8/tests/bug26133.phpt
+++ /dev/null
@@ -1,36 +0,0 @@
---TEST--
-Bug #26133 (ocifreedesc() segfault)
---SKIPIF--
-<?php
- require 'skipif.inc';
-?>
---FILE--
-<?php
- require 'connect.inc';
- require 'create_table.inc';
-
- if ($connection) {
- $ora_sql = "INSERT INTO
- ".$schema."php_test_table (id, value)
- VALUES ('1','1')
- RETURNING
- ROWID
- INTO :v_rowid ";
-
- $statement = OCIParse($connection,$ora_sql);
- $rowid = OCINewDescriptor($connection,OCI_D_ROWID);
- OCIBindByName($statement,":v_rowid", $rowid,-1,OCI_B_ROWID);
- if (OCIExecute($statement)) {
- OCICommit($connection);
- }
- OCIFreeStatement($statement);
- $rowid->free();
- }
-
- require 'drop_table.inc';
-
- echo "Done\n";
-?>
---EXPECTF--
-Done
-