• antirez's avatar
    Inline protocol: handle empty strings well. · 5521910d
    antirez authored
    This bug is from the first version of Redis. Probably the problem here
    is that before we used an SDS split function that created empty strings
    for additional spaces, like in "SET    foo          bar".
    AFAIK later we replaced it with the curretn sdssplitarg() API that has
    no such a problem. As a result, we introduced a bug, where it is no
    longer possible to do something like:
    
        SET foo ""
    
    Using the inline protocol. Now it is fixed.
    5521910d
networking.c 110 KB