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:
136b3c3
)
Fixed check of BagOStuff set() return value in mctest
author
Aaron Schulz
<aschulz@wikimedia.org>
Tue, 17 Sep 2013 22:23:44 +0000
(15:23 -0700)
committer
BryanDavis
<bdavis@wikimedia.org>
Wed, 18 Sep 2013 18:23:59 +0000
(18:23 +0000)
Change-Id: I6e69cdc24b9b40132641205cb40f64bb5db45f70
maintenance/mctest.php
patch
|
blob
|
history
diff --git
a/maintenance/mctest.php
b/maintenance/mctest.php
index
28b041a
..
eda101e
100644
(file)
--- a/
maintenance/mctest.php
+++ b/
maintenance/mctest.php
@@
-80,7
+80,7
@@
class mcTest extends Maintenance {
$get = 0;
$time_start = $this->microtime_float();
for ( $i = 1; $i <= $iterations; $i++ ) {
- if (
!is_null( $mcc->set( "test$i", $i )
) ) {
+ if (
$mcc->set( "test$i", $i
) ) {
$set++;
}
}