12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- --TEST--
- Bug
- --EXTENSIONS--
- oci8
- --FILE--
- <?php
- require(__DIR__.'/connect.inc');
- $stmtarray = array(
- "drop table bug26133_tab",
- "create table bug26133_tab (id number, value number)",
- );
- oci8_test_sql_execute($c, $stmtarray);
- $ora_sql = "INSERT INTO bug26133_tab (id, value) VALUES (1,'1') RETURNING ROWID INTO :v_rowid ";
- $statement = oci_parse($c,$ora_sql);
- $rowid = oci_new_descriptor($c,OCI_D_ROWID);
- oci_bind_by_name($statement,":v_rowid", $rowid,-1,OCI_B_ROWID);
- if (oci_execute($statement)) {
- oci_commit($c);
- }
- oci_free_statement($statement);
- $rowid->free();
- $stmtarray = array(
- "drop table bug26133_tab"
- );
- oci8_test_sql_execute($c, $stmtarray);
- echo "Done\n";
- ?>
- --EXPECT--
- Done
|