Closed GoogleCodeExporter closed 8 years ago
The same applies to HEXISTS and HDEL. So all commands, expecting hash fields
are effected.
Original comment by vselo...@gmail.com
on 6 Jul 2010 at 12:01
After some sniffing with tcpdump, I've discovered, that redis-cli sends all
commands in "generic" multi-bulk format, i.e. as:
*3
$4
hget
$2
h1
$2
f1
That's why it works correctly. I think, such possibility should be clearly
stated i the docs.
Still I consider such deviation in H-functions to remain a bug.
Original comment by vselo...@gmail.com
on 7 Jul 2010 at 4:30
This is caused by support for the old protocol, where the last argument for H*
commands should be a bulk argument. Obviously, in H* commands more than only
the last argument may be a bulk argument (such as the key itself, the fields
and the values). When talking to Redis this way, Redis sees the inline commands
and suspects only the last argument is a multi bulk. Previously, when the
inline command had a last bulk argument, but the length was not properly
specified, it just continued. This was fixed yesterday in issue #146 (
http://code.google.com/p/redis/issues/detail?id=146 ), so issuing the same
commands as you mentioned in your issue report will result in an error.
Original comment by pcnoordh...@gmail.com
on 25 Aug 2010 at 2:10
Original issue reported on code.google.com by
vselo...@gmail.com
on 6 Jul 2010 at 11:55