(bug 46615) updateCollation.php: sanity check the collation before proceeding
Change-Id: I5be1b1ec1823fdb7438c3f501fb6194142c1e9dc
This commit is contained in:
parent
3403015881
commit
6eb84144df
1 changed files with 4 additions and 0 deletions
|
|
@ -82,6 +82,10 @@ TEXT;
|
|||
$collation = Collation::singleton();
|
||||
}
|
||||
|
||||
// Collation sanity check: in some cases the constructor will work,
|
||||
// but this will raise an exception, breaking all category pages
|
||||
$collation->getFirstLetterData();
|
||||
|
||||
$options = array(
|
||||
'LIMIT' => self::BATCH_SIZE,
|
||||
'ORDER BY' => 'cl_to, cl_type, cl_from',
|
||||
|
|
|
|||
Loading…
Reference in a new issue