From b0a196ed692c905bee667a6d64f2fe6ff9e7abb0 Mon Sep 17 00:00:00 2001 From: skodak Date: Tue, 25 Nov 2008 22:49:46 +0000 Subject: [PATCH] MDL-14679 DML: fixed $rs typos --- lib/dml/oci8po_adodb_moodle_database.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/dml/oci8po_adodb_moodle_database.php b/lib/dml/oci8po_adodb_moodle_database.php index c641a928e9..c25e501d10 100644 --- a/lib/dml/oci8po_adodb_moodle_database.php +++ b/lib/dml/oci8po_adodb_moodle_database.php @@ -57,8 +57,8 @@ class oci8po_adodb_moodle_database extends adodb_moodle_database { /// DB using DOTS. Manually introduced floats (if using other characters) must be /// converted back to DOTs (like gradebook does) $sql = "ALTER SESSION SET NLS_NUMERIC_CHARACTERS='.,'"; - $rs = $this->query_start($sql, null, SQL_QUERY_AUX); - $this->adodb->Execute($sql); + $this->query_start($sql, null, SQL_QUERY_AUX); + $rs = $this->adodb->Execute($sql); $this->query_end($rs); return true; @@ -111,8 +111,8 @@ class oci8po_adodb_moodle_database extends adodb_moodle_database { */ function setup_is_unicodedb() { $sql = "SELECT parameter, value FROM nls_database_parameters where parameter = 'NLS_CHARACTERSET'"; - $rs = $this->query_start($sql, null, SQL_QUERY_AUX); - $this->adodb->Execute($sql); + $this->query_start($sql, null, SQL_QUERY_AUX); + $rs = $this->adodb->Execute($sql); $this->query_end($rs); if ($rs && !$rs->EOF) { -- 2.39.5