MDL-17491 oci native driver: reverting 2 debug-like bits I left in previous commit

This commit is contained in:
stronk7 2009-09-21 11:43:58 +00:00
parent 8b30c95332
commit d3f9913a4f

View 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();