Ignore:
Timestamp:
03/01/05 16:31:04 (19 years ago)
Author:
Kris Deugau
Message:

/branches/stable

Backport SQL/SQL-related bugfixes from /trunk r180 through 184

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/cgi-bin/IPDB.pm

    r168 r185  
    122122# Return here if we can't select.  Note that this indicates a
    123123# problem executing the select.
    124   my $sth = $dbh->prepare("select cidr from masterblocks");
     124  my $sth = $dbh->prepare("select type from alloctypes");
    125125  $sth->execute();
    126126  return (undef,$DBI::errstr) if ($sth->err);
     
    156156  } else {
    157157    # it connects, try a stmt.
    158     my $sth = $dbh->prepare("select cidr from masterblocks");
     158    my $sth = $dbh->prepare("select type from alloctypes");
    159159    my $err = $sth->execute();
    160160
Note: See TracChangeset for help on using the changeset viewer.