Skip to content

Commit

Permalink
Fixed sql copy copystatement
Browse files Browse the repository at this point in the history
  • Loading branch information
ctevse committed Dec 11, 2023
1 parent aecd9e9 commit 1fe92c8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public int insertOrUpdateVulnerabilityFull(CompositeVulnerability vuln, boolean
if(rs.next()) {
copyStatement.setInt(1, rs.getInt("vdo_set_id"));
copyStatement.setInt(2, rs.getInt("cpe_set_id"));
copyStatement.setString(3, vuln.getCveId());
copyStatement.setInt(3, vuln.getVersionId());
copyStatement.executeUpdate();
} else {
log.error("Unable to copy vdo set and cpe set: No results in result set!");
Expand Down

0 comments on commit 1fe92c8

Please sign in to comment.