[Bio] / FigKernelPackages / Subsystem.pm Repository:
ViewVC logotype

Diff of /FigKernelPackages/Subsystem.pm

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

revision 1.5, Tue Jun 1 20:22:03 2004 UTC revision 1.6, Tue Jun 1 20:30:14 2004 UTC
# Line 198  Line 198 
198      # We run thru all the cells, writing an entry in the database for the peg/subsystem/role.      # We run thru all the cells, writing an entry in the database for the peg/subsystem/role.
199      #      #
200    
201        my $sth = $rdbH->{_dbh}->prepare("INSERT INTO subsystem_index values(?, ?, ?)");
202    
203      for my $role ($self->get_roles())      for my $role ($self->get_roles())
204      {      {
205          my $ridx = $self->get_role_index($role);          my $ridx = $self->get_role_index($role);
# Line 208  Line 210 
210              {              {
211                  for my $peg (@$cell)                  for my $peg (@$cell)
212                  {                  {
213                      $rdbH->SQL("INSERT INTO subsystem_index values('$peg', '$self->{name}', '$role')");                      $sth->execute($peg, $self->{name}, $role);
214                  }                  }
215              }              }
216          }          }

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3