cvs commit: p5ee/P5EEx/Blue/P5EEx/Blue/Repository DBI.pm

[email protected] (Stephen Adkins)
Newsgroups perl.cvs.p5ee
Message-ID <[email protected]>
cvsuser     05/12/10 14:26:15

  Modified:    P5EEx/Blue/P5EEx/Blue/Repository DBI.pm
  Log:
  removed locking from store_rows()
  
  Revision  Changes    Path
  1.32      +5 -5      p5ee/P5EEx/Blue/P5EEx/Blue/Repository/DBI.pm
  
  Index: DBI.pm
  ===================================================================
  RCS file: /cvs/public/p5ee/P5EEx/Blue/P5EEx/Blue/Repository/DBI.pm,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- DBI.pm	4 Mar 2004 22:42:27 -0000	1.31
  +++ DBI.pm	10 Dec 2005 22:26:14 -0000	1.32
  @@ -1470,7 +1470,7 @@
       }
   
       #$self->store_begin($table);
  -    $self->_lock_table($table);
  +    #$self->_lock_table($table);
       eval {
           $tabledef = $self->{table}{$table};
           $table_ih = $tabledef->{table_ih} || "";
  @@ -1619,10 +1619,10 @@
           $nrows = $ok ? 1 : 0;
       };
       if ($@) {
  -        $self->_unlock_table($table);
  +        #$self->_unlock_table($table);
           die "Exception in store_rows(): $@";
       }
  -    $self->_unlock_table($table);
  +    #$self->_unlock_table($table);
       #$self->store_end($table);
       $self->{numrows} = $nrows;
       $nrows;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.