• M
    Reject MOVE to non-integer DBs · 498ad748
    Matt Stancliff 提交于
    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
    498ad748
db.c 38.4 KB