--- loncom/lonsql 2001/03/27 13:35:35 1.21 +++ loncom/lonsql 2001/03/27 19:01:05 1.24 @@ -225,10 +225,12 @@ sub make_new_child { $queryid .= $run; print $client "$queryid\n"; + &logthis("QUERY: $query\n"); #prepare and execute the query my $sth = $dbh->prepare($query); my $result; my @files; + my $subsetflag=0; unless ($sth->execute()) { &logthis("WARNING: Could not retrieve from database: $@"); @@ -249,7 +251,7 @@ sub make_new_child { if ($custom) { &logthis("am going to do custom query for $custom"); if (@files) { - @metalist=map {$perlvar{'lonDocRoot'}.$_.'meta'} @files; + @metalist=map {$perlvar{'lonDocRoot'}.$_.'.meta'} @files; } else { @metalist=(); pop @metalist;