Edge-case, but I think Drupal core should handle this, since i18n is a very common contributed module for most non-English sites:
The contributed i18nstrings module of the i18n project adds a 'textgroup_location' index to {locales_source}, which prevents locale_update_7000 from being executed:
locale module
Update #7000
Failed: PDOException: SQLSTATE[42000]: Syntax error or access violation: 1170 BLOB/TEXT column 'location' used in key specification without a key length: ALTER TABLE {locales_source} CHANGE `location` `location` LONGTEXT DEFAULT NULL; Array ( ) in db_change_field() (line 2892 of includes\database\database.inc).
Comments
Comment #1
damien tournoud commentedThis is a duplicate of #864020: Locale upgrade to D7 fails due to index added by i18nstrings module.
Comment #2
sunoopsie
Comment #3
damien tournoud commentedComment #4
sunHumm... sorry, didn't see #1. However, while I agree that core can't take any contributed module hacks into account, i18n is installed on lots of non-English sites. Hm.
Comment #5
sunkk :P