r23158 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23157‎ | r23158 | r23159 >
Date:12:03, 21 June 2007
Author:aaron
Status:old
Tags:
Comment:
*Add $db->begin();
Modified paths:
  • /trunk/extensions/CheckUser/install.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CheckUser/install.php
@@ -45,6 +45,8 @@
4646 $end = $db->selectField( 'recentchanges', 'MAX(rc_id)', false, __FUNCTION__ );
4747 $blockStart = $start;
4848 $blockEnd = $start + BATCH_SIZE - 1;
 49+
 50+ $db->begin();
4951 while ( $blockStart <= $end ) {
5052 $cond = "rc_id BETWEEN $blockStart AND $blockEnd $cutoffCond";
5153 $res = $db->select( 'recentchanges', '*', $cond, __FUNCTION__ );

Status & tagging log