summaryrefslogtreecommitdiff
path: root/ext/oci8/tests/drop_table.inc
diff options
context:
space:
mode:
Diffstat (limited to 'ext/oci8/tests/drop_table.inc')
-rw-r--r--ext/oci8/tests/drop_table.inc15
1 files changed, 5 insertions, 10 deletions
diff --git a/ext/oci8/tests/drop_table.inc b/ext/oci8/tests/drop_table.inc
index ffd99f5af..592a95a3d 100644
--- a/ext/oci8/tests/drop_table.inc
+++ b/ext/oci8/tests/drop_table.inc
@@ -1,12 +1,7 @@
<?php
-
- if ($c) {
- $ora_sql = "DROP TABLE
- ".$schema.$table_name."
- ";
-
- $statement = OCIParse($c,$ora_sql);
- OCIExecute($statement);
- }
-
+if ($c) {
+ $ora_sql = "DROP TABLE ".$schema.$table_name;
+ $statement = oci_parse($c,$ora_sql);
+ oci_execute($statement);
+}
?>