Changeset 514 for trunk


Ignore:
Timestamp:
05/22/13 17:55:29 (12 years ago)
Author:
Kris Deugau
Message:

/trunk

Drop die() on SELECT failure (since we don't fail on any other bare
SELECTs); leave ##fixme tag Just In Case there may end up being a
Really Good Reason to die() there on failure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r513 r514  
    15961596  my $sth = $dbh->prepare($sql);
    15971597
    1598 ##fixme:  this should be trapped
    1599   $sth->execute($id) or die "argh: ".$sth->errstr;
     1598##fixme?  we don't trap other plain SELECT errors
     1599  $sth->execute($id);
    16001600
    16011601#  my $permref = $sth->fetchrow_hashref;
Note: See TracChangeset for help on using the changeset viewer.