[LON-CAPA-cvs] cvs: modules /msu localenroll.pm

raeburn raeburn at source.lon-capa.org
Thu Apr 18 12:01:35 EDT 2013


raeburn		Thu Apr 18 16:01:35 2013 EDT

  Modified files:              
    /modules/msu	localenroll.pm 
  Log:
  - Eliminate "Heterogeneous queries" error when querying LONCAPA_DeptAdministrators table on ESDB1.
  
  
Index: modules/msu/localenroll.pm
diff -u modules/msu/localenroll.pm:1.64 modules/msu/localenroll.pm:1.65
--- modules/msu/localenroll.pm:1.64	Mon Mar  4 02:20:25 2013
+++ modules/msu/localenroll.pm	Thu Apr 18 16:01:34 2013
@@ -1,6 +1,6 @@
 # functions to glue school database system into Lon-CAPA for
 # automated enrollment
-# $Id: localenroll.pm,v 1.64 2013/03/04 02:20:25 raeburn Exp $
+# $Id: localenroll.pm,v 1.65 2013/04/18 16:01:34 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -92,6 +92,8 @@
         $dbflag = 0;
     } else {
         if (defined($dbh)) {
+            $dbh->do('SET ANSI_NULLS ON');
+            $dbh->do('SET ANSI_WARNINGS ON');
             $dbflag = 1;
         }
     }




More information about the LON-CAPA-cvs mailing list