--- loncom/lonsql 2001/03/27 18:34:03 1.22 +++ loncom/lonsql 2001/03/27 19:11:12 1.25 @@ -225,10 +225,14 @@ sub make_new_child { $queryid .= $run; print $client "$queryid\n"; + &logthis("QUERY: $query"); + &logthis("QUERY: $query"); + sleep 1; #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,13 +253,13 @@ 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; &find("$perlvar{'lonDocRoot'}/res"); } - &logthis("FILELIST:" . join(":::",@metalist)); +# &logthis("FILELIST:" . join(":::",@metalist)); # if file is indicated in sql database and # not part of sql-relevant query, do not pattern match. # if file is not in sql database, output error.