• antirez's avatar
    Transactions: move the QUEUED logic inside call(). (Work in progress) · 71c37605
    antirez authored
    As a side effect this makes things like #5201 fixed automatically.
    The problem with handling it in ProcessQueryBuffer() or similar is that
    a client that is handled just via the call() interface will misbehave,
    and call()-ing MULTI and later some command will see just the other
    command executed like if the client was not in a transaction.
    
    For now this has worked well enough but probably it makes more sense if
    we can handle that case on call().
    
    WARNING: this comment is not enough and will introduce bugs. It's a WIP.
    71c37605
server.c 166 KB