garnet icon indicating copy to clipboard operation
garnet copied to clipboard

fix: command arguments error

Open Zzhiter opened this issue 11 months ago • 0 comments

In https://github.com/microsoft/garnet/issues/152 We found that when entering only the SCAN command we would not receive the return value

Now I fixed the bug.

The successful screenshot is below: image

Additionally, I fixed similar bugs.

Before fixing: image image After fixing: image image which is the same as Redis: image

Finally, I also fixed a bug I introduced in my previous PR, I'm very sorry about that.

In https://github.com/microsoft/garnet/pull/137/files, if (count < 1 || count > 2) shoude be if (count != 2)

Zzhiter avatar Mar 28 '24 11:03 Zzhiter