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:
a79d4bf
)
Don't kill whole update process if no log rows to update (fixes r50609)
author
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 6 Jun 2009 00:39:31 +0000
(
00:39
+0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 6 Jun 2009 00:39:31 +0000
(
00:39
+0000)
maintenance/populateLogSearch.inc
patch
|
blob
|
history
diff --git
a/maintenance/populateLogSearch.inc
b/maintenance/populateLogSearch.inc
index
0cfa387
..
d678191
100644
(file)
--- a/
maintenance/populateLogSearch.inc
+++ b/
maintenance/populateLogSearch.inc
@@
-13,7
+13,8
@@
define( 'LOG_SEARCH_BATCH_SIZE', 100 );
function migrate_log_params( $db ) {
$start = $db->selectField( 'logging', 'MIN(log_id)', false, __FUNCTION__ );
if( !$start ) {
- die("Nothing to do.\n");
+ echo "Nothing to do.\n";
+ return true;
}
$end = $db->selectField( 'logging', 'MAX(log_id)', false, __FUNCTION__ );