summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbyron jones <byron@glob.com.au>2018-03-20 14:14:11 +0100
committerDylan William Hardison <dylan@hardison.net>2018-03-20 14:14:11 +0100
commit1121193471e2f6f6b7d4e5c27a465f476f7f100f (patch)
tree212258657b46c0818b24f459803e8c2dbc8083b4
parent085c32acdac27c99549dfb1bef50ccb8c3949294 (diff)
downloadbugzilla-1121193471e2f6f6b7d4e5c27a465f476f7f100f.tar.gz
bugzilla-1121193471e2f6f6b7d4e5c27a465f476f7f100f.tar.xz
Bug 1447221 - memcache no longer returning results due to mismatched key handling in get vs. set
-rw-r--r--Bugzilla/Memcached.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Memcached.pm b/Bugzilla/Memcached.pm
index 85e3505e1..136f43c61 100644
--- a/Bugzilla/Memcached.pm
+++ b/Bugzilla/Memcached.pm
@@ -324,7 +324,7 @@ sub _get {
my $enc_key = $self->_encode_key($key)
or return;
- my $val = $self->{memcached}->get($key);
+ my $val = $self->{memcached}->get($enc_key);
TRACE("get $enc_key: " . (defined $val ? "HIT" : "MISS"));
return $val;
}