diff options
Diffstat (limited to 'modules/locale/locale.install')
-rw-r--r-- | modules/locale/locale.install | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/locale/locale.install b/modules/locale/locale.install index 32d7d18d0..d9ef10afb 100644 --- a/modules/locale/locale.install +++ b/modules/locale/locale.install @@ -5,6 +5,10 @@ * Implementation of hook_install(). */ function locale_install() { + // locales_source.source and locales_target.target are not used as binary + // fields; non-MySQL database servers need to ensure the field type is text + // and that LIKE produces a case-sensitive comparison. + // Create tables. drupal_install_schema('locale'); @@ -350,6 +354,7 @@ function locale_schema() { ), 'source' => array( 'type' => 'text', + 'mysql_type' => 'blob', 'not null' => TRUE, 'description' => 'The original string in English.', ), @@ -378,6 +383,7 @@ function locale_schema() { ), 'translation' => array( 'type' => 'text', + 'mysql_type' => 'blob', 'not null' => TRUE, 'description' => 'Translation string value in this language.', ), |