dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e278cf4
)
Fixed return value for RedisBagOStuff::cas().
author
Aaron Schulz
<aschulz@wikimedia.org>
Tue, 23 Apr 2013 21:31:52 +0000
(14:31 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Tue, 23 Apr 2013 21:31:52 +0000
(14:31 -0700)
Change-Id: I3b180baaba8fb12ab2960e358c8b6d1a1eac05dd
includes/objectcache/RedisBagOStuff.php
patch
|
blob
|
history
diff --git
a/includes/objectcache/RedisBagOStuff.php
b/includes/objectcache/RedisBagOStuff.php
index
f9feaf9
..
1f64b69
100644
(file)
--- a/
includes/objectcache/RedisBagOStuff.php
+++ b/
includes/objectcache/RedisBagOStuff.php
@@
-140,7
+140,7
@@
class RedisBagOStuff extends BagOStuff {
$conn->setex( $key, $expiry, $value );
}
- $result =
$conn->exec(
);
+ $result =
( $conn->exec() == array( true )
);
} catch ( RedisException $e ) {
$result = false;
$this->handleException( $server, $conn, $e );