projects
/
perl-Redis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
370cecf
)
Fix __read_response() call in keys(): used wrong command
author
Pedro Melo
<melo@simplicidade.org>
Sat, 7 Aug 2010 11:55:55 +0000
(12:55 +0100)
committer
Pedro Melo
<melo@simplicidade.org>
Sat, 7 Aug 2010 12:26:48 +0000
(13:26 +0100)
Signed-off-by: Pedro Melo <melo@simplicidade.org>
lib/Redis.pm
patch
|
blob
|
history
diff --git
a/lib/Redis.pm
b/lib/Redis.pm
index
4159bad
..
11ba2cb
100644
(file)
--- a/
lib/Redis.pm
+++ b/
lib/Redis.pm
@@
-116,7
+116,8
@@
sub keys {
$self->__send_command('KEYS', @_);
$self->__send_command('KEYS', @_);
- my @keys = $self->__read_response('INFO', \my $type);
+ my @keys = $self->__read_response('KEYS', \my $type);
+ ## Support redis > 1.26
return @keys if $type eq '*';
## Support redis <= 1.2.6
return @keys if $type eq '*';
## Support redis <= 1.2.6