garnet
garnet copied to clipboard
fix: command arguments error
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:
Additionally, I fixed similar bugs.
Before fixing:
After fixing:
which is the same as Redis:
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)