]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-17491 oci native driver: reverting 2 debug-like bits I left in previous commit
authorstronk7 <stronk7>
Mon, 21 Sep 2009 11:43:58 +0000 (11:43 +0000)
committerstronk7 <stronk7>
Mon, 21 Sep 2009 11:43:58 +0000 (11:43 +0000)
lib/dml/oci_native_moodle_database.php

index 15513e5f952dfe25a9eeb868d381642c1340b8c1..c0b515a9d70beac2324c5690d5438ed5f0c354e6 100644 (file)
@@ -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();