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

damien tournoud’s picture

Status: Needs review » Closed (duplicate)
sun’s picture

Status: Closed (duplicate) » Needs review
StatusFileSize
new1.23 KB

oopsie

damien tournoud’s picture

Status: Needs review » Closed (duplicate)
sun’s picture

Status: Closed (duplicate) » Needs review

Humm... 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.

sun’s picture

Status: Needs review » Closed (duplicate)

kk :P