pgSQL: fixed invalidating vulnerability cache query.
This commit is contained in:
parent
a5c6400065
commit
57a4f97780
@ -413,6 +413,6 @@ func queryPersistLayer(count int) string {
|
|||||||
|
|
||||||
func queryInvalidateVulnerabilityCache(count int) string {
|
func queryInvalidateVulnerabilityCache(count int) string {
|
||||||
return fmt.Sprintf(`DELETE FROM vulnerability_affected_feature
|
return fmt.Sprintf(`DELETE FROM vulnerability_affected_feature
|
||||||
WHERE vulnerability_id = (%s)`,
|
WHERE vulnerability_id IN (%s)`,
|
||||||
queryString(1, count))
|
queryString(1, count))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user