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:
b6c1e58
)
Update handling of keys command for redis-2.0.0-rc1
author
James Barton
<jbarton@jbarton-laptop.ideaworks.com>
Wed, 2 Jun 2010 16:31:42 +0000
(11:31 -0500)
committer
James Barton
<jbarton@jbarton-laptop.ideaworks.com>
Wed, 2 Jun 2010 16:31:42 +0000
(11:31 -0500)
lib/Redis.pm
patch
|
blob
|
history
diff --git
a/lib/Redis.pm
b/lib/Redis.pm
index
8df6779
..
5f476cf
100644
(file)
--- a/
lib/Redis.pm
+++ b/
lib/Redis.pm
@@
-130,11
+130,7
@@
sub AUTOLOAD {
$hash->{$n} = $v;
}
return $hash;
- } elsif ( $command eq 'keys' ) {
- my $keys = $self->__read_bulk($result);
- return split(/\s/, $keys) if $keys;
- return;
- }
+ }
if ( $type eq '-' ) {
confess "[$command] $result";
@@
-147,7
+143,7
@@
sub AUTOLOAD {
} elsif ( $type eq ':' ) {
return $result; # FIXME check if int?
} else {
-
confess "unknown type: $type", $self->__read_line()
;
+
return
;
}
}