From 9b980295c2aa72cf7728e3a67880935280e44db0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paulus=20P=C3=A4rssinen?= Date: Wed, 3 Apr 2024 05:02:41 +0300 Subject: [PATCH] Fix typos in SortedSetOps.cs (#203) --- libs/server/Storage/Session/ObjectStore/SortedSetOps.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/server/Storage/Session/ObjectStore/SortedSetOps.cs b/libs/server/Storage/Session/ObjectStore/SortedSetOps.cs index e67d71102e..23c4a9d1ee 100644 --- a/libs/server/Storage/Session/ObjectStore/SortedSetOps.cs +++ b/libs/server/Storage/Session/ObjectStore/SortedSetOps.cs @@ -175,7 +175,7 @@ public unsafe GarnetStatus SortedSetRemoveRangeByLex(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) { @@ -219,7 +219,7 @@ public unsafe GarnetStatus SortedSetRemoveRangeByScore(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) {