pull/90170/head
Georges Chaudy 10 months ago
parent e15d1d060c
commit 0da775e521
No known key found for this signature in database
GPG Key ID: 0EE887FFCA1DB6EF
  1. 4
      pkg/storage/unified/sql/data/resource_history_read.sql

@ -12,6 +12,6 @@ SELECT
{{ if gt .Request.ResourceVersion 0 }}
AND {{ .Ident "resource_version" }} <= {{ .Arg .Request.ResourceVersion }}
{{ end }}
ORDER BY {{ .Ident "resource_version" }} DESC
LIMIT 1
ORDER BY {{ .Ident "resource_version" }} DESC
LIMIT 1
;

Loading…
Cancel
Save