[LON-CAPA-cvs] cvs: loncom /metadata_database parse_activity_log.pl
matthew
lon-capa-cvs@mail.lon-capa.org
Wed, 22 Dec 2004 19:25:42 -0000
matthew Wed Dec 22 14:25:42 2004 EDT
Modified files:
/loncom/metadata_database parse_activity_log.pl
Log:
Use delimiters and escape for @values stored in db.
Index: loncom/metadata_database/parse_activity_log.pl
diff -u loncom/metadata_database/parse_activity_log.pl:1.9 loncom/metadata_database/parse_activity_log.pl:1.10
--- loncom/metadata_database/parse_activity_log.pl:1.9 Wed Dec 22 09:58:15 2004
+++ loncom/metadata_database/parse_activity_log.pl Wed Dec 22 14:25:42 2004
@@ -2,7 +2,7 @@
#
# The LearningOnline Network
#
-# $Id: parse_activity_log.pl,v 1.9 2004/12/22 14:58:15 matthew Exp $
+# $Id: parse_activity_log.pl,v 1.10 2004/12/22 19:25:42 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -524,7 +524,7 @@
next; # skip this chunk
}
#
- my $values = $dbh->quote(join('',@values));
+ my $values = $dbh->quote(join(':',map { &escape($_); } @values));
$time_this->('get_ids');
#
my $row = [$res_id,