[Bio] / Sprout / ERDBLoader.pl Repository:
ViewVC logotype

Diff of /Sprout/ERDBLoader.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12, Tue Jun 30 19:53:01 2009 UTC revision 1.13, Tue Sep 8 21:30:33 2009 UTC
# Line 149  Line 149 
149      # Get the parameters.      # Get the parameters.
150      my ($database, @groups) = @parameters;      my ($database, @groups) = @parameters;
151      # Connect to the database and get its load directory.      # Connect to the database and get its load directory.
152      my $erdb = ERDB::GetDatabase($database, undef, %$options);      my $erdb = ERDB::GetDatabase($database, undef, %$options, externalDBD => 1);
153      # Fix the group list.      # Fix the group list.
154      my @realGroups = ERDBLoadGroup::ComputeGroups($erdb, \@groups);      my @realGroups = ERDBLoadGroup::ComputeGroups($erdb, \@groups);
155      # Get the source object and load directory for this database.      # Get the source object and load directory for this database.
# Line 278  Line 278 
278          $stats->Add("groups-loaded" => 1);          $stats->Add("groups-loaded" => 1);
279          $stats->Add('load-time' => 1);          $stats->Add('load-time' => 1);
280      }      }
281        # Save the DBD.
282        Trace("Saving DBD.") if T(2);
283        $erdb->InternalizeDBD();
284      $stats->Add('total-time' => time() - $totalStart);      $stats->Add('total-time' => time() - $totalStart);
285      # Display the statistics from this run.      # Display the statistics from this run.
286      Trace("Statistics for load:\n" . $stats->Show()) if T(2);      Trace("Statistics for load:\n" . $stats->Show()) if T(2);

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3