hufei01 / redis

Automatically exported from code.google.com/p/redis
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

LRANGE limit #217

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
./redis-cli lrange yyy 0 1 

Expecting 1 element but see 2.

root@kines:~/install/redis/redis-1.2.6# ./redis-cli lrange yyy 0 1 
1. 4
2. 1

root@kines:~/install/redis/redis-1.2.6# ./redis-cli lrange yyy 0 2
1. 4
2. 1
3. 2

Redis version  1.2.6
OS : Ubuntu 8.10

Best regards, kines.

Original issue reported on code.google.com by Kine...@gmail.com on 31 Mar 2010 at 11:11

GoogleCodeExporter commented 9 years ago
nvm ... Looks like I missed.  
Works as described in docs.

Original comment by Kine...@gmail.com on 2 Apr 2010 at 10:18

GoogleCodeExporter commented 9 years ago
Closing.

Original comment by pcnoordh...@gmail.com on 2 Apr 2010 at 10:34