[Bio] / Sprout / ERDB.pm Repository:
ViewVC logotype

Diff of /Sprout/ERDB.pm

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

revision 1.24, Wed Oct 12 02:56:04 2005 UTC revision 1.25, Thu Oct 13 01:16:47 2005 UTC
# Line 1308  Line 1308 
1308      Trace("Loading table $relationName from $fileName") if T(2);      Trace("Loading table $relationName from $fileName") if T(2);
1309      # Get the database handle.      # Get the database handle.
1310      my $dbh = $self->{_dbh};      my $dbh = $self->{_dbh};
     # Start a transaction.  
     $dbh->begin_tran;  
1311      # Get the input file size.      # Get the input file size.
1312      my $fileSize = -s $fileName;      my $fileSize = -s $fileName;
1313      # Get the relation data.      # Get the relation data.
# Line 1359  Line 1357 
1357              }              }
1358          }          }
1359      }      }
     # Commit the database changes.  
     $dbh->commit_tran;  
1360      # Analyze the table to improve performance.      # Analyze the table to improve performance.
1361      $dbh->vacuum_it($relationName);      $dbh->vacuum_it($relationName);
1362      # Return the statistics.      # Return the statistics.

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3