/[A3C]/lib/A3C/SQL.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/A3C/SQL.pm

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

revision 159 by dpavlin, Sun Jun 15 14:40:50 2008 UTC revision 160 by dpavlin, Sun Jun 15 16:10:13 2008 UTC
# Line 43  sub sth { Line 43  sub sth {
43                  my $sth = $dbh->prepare( $self->query ) or $dbh->errstr;                  my $sth = $dbh->prepare( $self->query ) or $dbh->errstr;
44                  if ( $self->arguments ) {                  if ( $self->arguments ) {
45                          Jifty->log->debug( $self->sql . ' arguments: ' . dump( $self->arguments ) );                          Jifty->log->debug( $self->sql . ' arguments: ' . dump( $self->arguments ) );
46                          $sth->execute( $self->arguments ) or $dbh->errstr;                          $sth->execute( $self->arguments ) or die $dbh->errstr;
47                  } else {                  } else {
48                          $sth->execute or $dbh->errstr;                          $sth->execute or die $dbh->errstr;
49                  }                  }
50                  $self->{_sth} = $sth;                  $self->{_sth} = $sth;
51          }          }

Legend:
Removed from v.159  
changed lines
  Added in v.160

  ViewVC Help
Powered by ViewVC 1.1.26