Index: trunk/phase3/maintenance/updateSearchIndex.inc |
— | — | @@ -90,8 +90,8 @@ |
91 | 91 | # Unlock and lock again |
92 | 92 | # Since the lock is low-priority, queued reads will be able to complete |
93 | 93 | function relockSearchindex( &$db ) { |
| 94 | + $db->unlockTables( 'updateSearchIndex.inc ' . __METHOD__ ); |
94 | 95 | lockSearchindex( $db ); |
95 | | - $db->unlockTables( 'updateSearchIndex.inc ' . __METHOD__ ); |
96 | 96 | } |
97 | 97 | |
98 | 98 | function output( $text ) { |