Skip to content

Commit

Permalink
fix returned version in postgresql delete on clear state script
Browse files Browse the repository at this point in the history
  • Loading branch information
modabas authored and ReubenBond committed Nov 1, 2023
1 parent bff641c commit 152f004
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -195,5 +195,5 @@ VALUES
AND ((@GrainIdExtensionString IS NOT NULL AND GrainIdExtensionString IS NOT NULL AND GrainIdExtensionString = @GrainIdExtensionString) OR @GrainIdExtensionString IS NULL AND GrainIdExtensionString IS NULL)
AND ServiceId = @ServiceId AND @ServiceId IS NOT NULL
AND Version IS NOT NULL AND Version = @GrainStateVersion AND @GrainStateVersion IS NOT NULL
Returning NULL as NewGrainStateVersion
Returning Version + 1 as NewGrainStateVersion
');

0 comments on commit 152f004

Please sign in to comment.