Changeset 576 for trunk/cgi-bin/IPDB.pm
- Timestamp:
- 12/21/12 17:49:08 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/IPDB.pm
r574 r576 1059 1059 return ('FAIL', 'No fields to update') if !@fieldlist; 1060 1060 1061 push @vallist, $args{block} ;1061 push @vallist, $args{block}, $args{rdepth}, $args{vrf}; 1062 1062 my $sql = "UPDATE $updtable SET "; 1063 1063 $sql .= join " = ?, ", @fieldlist; 1064 $sql .= " = ? WHERE $keyfield = ? ";1064 $sql .= " = ? WHERE $keyfield = ? AND rdepth = ? AND vrf = ?"; 1065 1065 1066 1066 eval {
Note:
See TracChangeset
for help on using the changeset viewer.