mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
Previously, "MOVE key somestring" would move the key to DB 0 which is just unexpected and wrong. String as DB == error. Test added too. Modified by @antirez in order to use the getLongLongFromObject() API instead of strtol(). Fixes #1428