sleeprite / rudis

Rudis is a high-performance in memory database
https://sleeprite.github.io/rudis/
GNU General Public License v3.0
239 stars 28 forks source link

bug report: set PX 1 will get wrong command #14

Closed DeadPoetSpoon closed 2 months ago

DeadPoetSpoon commented 2 months ago

set a XX 将返回 null

应当区分:

  1. 必要参数和可选参数
  2. 参数位置

可以参考 查看文件 中的相关实现

可以在 #13 讨论完成后进行

sleeprite commented 2 months ago

已在 dev 分支,处理 set 命令可选参数的兼容性 https://github.com/sleeprite/rudis/commit/e823f836a1c1d24d2c3a39abdbdc233970c9befc