Skip to content

Commit

Permalink
Fix typos in SortedSetOps.cs (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulusParssinen authored Apr 3, 2024
1 parent 31b352c commit 9b98029
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/server/Storage/Session/ObjectStore/SortedSetOps.cs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public unsafe GarnetStatus SortedSetRemoveRangeByLex<TObjectContext>(ArgSlice ke
return GarnetStatus.OK;

var minBytes = Encoding.ASCII.GetBytes(min);
var maxBytes = Encoding.ASCII.GetBytes(min);
var maxBytes = Encoding.ASCII.GetBytes(max);

fixed (byte* ptr = minBytes)
{
Expand Down Expand Up @@ -219,7 +219,7 @@ public unsafe GarnetStatus SortedSetRemoveRangeByScore<TObjectContext>(ArgSlice
return GarnetStatus.OK;

var minBytes = Encoding.ASCII.GetBytes(min);
var maxBytes = Encoding.ASCII.GetBytes(min);
var maxBytes = Encoding.ASCII.GetBytes(max);

fixed (byte* ptr = minBytes)
{
Expand Down

0 comments on commit 9b98029

Please sign in to comment.