Changeset 185 for branches/stable/cgi-bin/IPDB.pm
- Timestamp:
- 03/01/05 16:31:04 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/cgi-bin/IPDB.pm
r168 r185 122 122 # Return here if we can't select. Note that this indicates a 123 123 # problem executing the select. 124 my $sth = $dbh->prepare("select cidr from masterblocks");124 my $sth = $dbh->prepare("select type from alloctypes"); 125 125 $sth->execute(); 126 126 return (undef,$DBI::errstr) if ($sth->err); … … 156 156 } else { 157 157 # it connects, try a stmt. 158 my $sth = $dbh->prepare("select cidr from masterblocks");158 my $sth = $dbh->prepare("select type from alloctypes"); 159 159 my $err = $sth->execute(); 160 160
Note:
See TracChangeset
for help on using the changeset viewer.