From d3f9913a4fc16a8a853aa3ec6fcfe04cf1582e1b Mon Sep 17 00:00:00 2001 From: stronk7 Date: Mon, 21 Sep 2009 11:43:58 +0000 Subject: [PATCH] MDL-17491 oci native driver: reverting 2 debug-like bits I left in previous commit --- lib/dml/oci_native_moodle_database.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/dml/oci_native_moodle_database.php b/lib/dml/oci_native_moodle_database.php index 15513e5f952..c0b515a9d70 100644 --- a/lib/dml/oci_native_moodle_database.php +++ b/lib/dml/oci_native_moodle_database.php @@ -293,7 +293,6 @@ class oci_native_moodle_database extends moodle_database { AND TABLE_NAME LIKE '$prefix%' ESCAPE '\\'"; $this->query_start($sql, null, SQL_QUERY_AUX); $stmt = $this->parse_query($sql); - oci_num_fields($stmt); $result = oci_execute($stmt, $this->commit_status); $this->query_end($result, $stmt); $records = null; @@ -654,7 +653,7 @@ class oci_native_moodle_database extends moodle_database { return true; } - protected function bind_params(&$stmt, array $params=null, $tablename=null) { + protected function bind_params($stmt, array $params=null, $tablename=null) { $descriptors = array(); if ($params) { $columns = array();