Changeset 726 for trunk/cgi-bin/IPDB.pm
- Timestamp:
- 05/20/15 15:52:19 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/IPDB.pm
r725 r726 2321 2321 if ($type eq 'i') { 2322 2322 my $binfo = $dbh->selectrow_hashref(qq( 2323 SELECT i p AS block, city, vrf, parent_id, master_id, $commonfields2323 SELECT id, ip AS block, city, vrf, parent_id, master_id, $commonfields 2324 2324 FROM poolips WHERE id = ? 2325 2325 ), undef, ($id) ); … … 2327 2327 } else { 2328 2328 my $binfo = $dbh->selectrow_hashref(qq( 2329 SELECT a. cidr AS block, a.city, a.vrf, a.parent_id, a.master_id, swip, $commonfields,2329 SELECT a.id, a.cidr AS block, a.city, a.vrf, a.parent_id, a.master_id, swip, $commonfields, 2330 2330 f.cidr AS reserve, f.id as reserve_id 2331 2331 FROM allocations a LEFT JOIN freeblocks f ON a.id=f.reserve_for
Note:
See TracChangeset
for help on using the changeset viewer.