[LON-CAPA-cvs] cvs: loncom /interface lonmysql.pm
matthew
lon-capa-cvs@mail.lon-capa.org
Mon, 11 Jul 2005 13:49:48 -0000
matthew Mon Jul 11 09:49:48 2005 EDT
Modified files:
/loncom/interface lonmysql.pm
Log:
Debugging code.
Index: loncom/interface/lonmysql.pm
diff -u loncom/interface/lonmysql.pm:1.31 loncom/interface/lonmysql.pm:1.32
--- loncom/interface/lonmysql.pm:1.31 Mon Apr 11 17:36:50 2005
+++ loncom/interface/lonmysql.pm Mon Jul 11 09:49:47 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# MySQL utility functions
#
-# $Id: lonmysql.pm,v 1.31 2005/04/11 21:36:50 albertel Exp $
+# $Id: lonmysql.pm,v 1.32 2005/07/11 13:49:47 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -977,6 +977,7 @@
$request .= '('.join(',',@$row).'),';
}
$request =~ s/,$//;
+ # $debugstring = "Executed ".$/.$request; # commented out - this is big
$dbh->do($request);
if ($dbh->err) {
$errorstring = 'Attempted '.$/.$request.$/.'Got error '.$dbh->errstr();