• Matt Stancliff's avatar
    Reject MOVE to non-integer DBs · 25a4699a
    Matt Stancliff authored
    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
    25a4699a
db.c 32.4 KB