]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-14679 DML: fixed $rs typos
authorskodak <skodak>
Tue, 25 Nov 2008 22:49:46 +0000 (22:49 +0000)
committerskodak <skodak>
Tue, 25 Nov 2008 22:49:46 +0000 (22:49 +0000)
lib/dml/oci8po_adodb_moodle_database.php

index c641a928e9adcceedc36136ce51862501d02a33f..c25e501d10cfea158afc820a2f14bbff521957b7 100644 (file)
@@ -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) {