dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "MailAddress->toString(): Reduce complexity by inverting ifs"
[lhc/web/wiklou.git]
/
maintenance
/
storage
/
resolveStubs.php
diff --git
a/maintenance/storage/resolveStubs.php
b/maintenance/storage/resolveStubs.php
index
8ca8bb2
..
f9ec398
100644
(file)
--- a/
maintenance/storage/resolveStubs.php
+++ b/
maintenance/storage/resolveStubs.php
@@
-38,7
+38,7
@@
function resolveStubs() {
$fname = 'resolveStubs';
$dbr = wfGetDB( DB_REPLICA );
$fname = 'resolveStubs';
$dbr = wfGetDB( DB_REPLICA );
- $maxID = $dbr->selectField( 'text', 'MAX(old_id)',
false
, $fname );
+ $maxID = $dbr->selectField( 'text', 'MAX(old_id)',
''
, $fname );
$blockSize = 10000;
$numBlocks = intval( $maxID / $blockSize ) + 1;
$blockSize = 10000;
$numBlocks = intval( $maxID / $blockSize ) + 1;