summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2015-10-10 19:43:59 -0400
committerDavid Rothstein <drothstein@gmail.com>2015-10-10 19:43:59 -0400
commitd488eb129f4d65334ed999d12012ea8380992248 (patch)
tree491fb9119fb484d89a7a93ac5389d765b2bb5bb2 /modules
parentab4064e9ae9071a01f3e65446608f17d1f565daf (diff)
downloadbrdo-d488eb129f4d65334ed999d12012ea8380992248.tar.gz
brdo-d488eb129f4d65334ed999d12012ea8380992248.tar.bz2
Issue #2376239 by david_garcia, dobe: "format" field in table "date_format_locale" should be case sensitive
Diffstat (limited to 'modules')
-rw-r--r--modules/system/system.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index dde846969..323b7b356 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -800,6 +800,7 @@ function system_schema() {
'type' => 'varchar',
'length' => 100,
'not null' => TRUE,
+ 'binary' => TRUE,
),
'type' => array(
'description' => 'The date format type, e.g. medium.',
@@ -3178,6 +3179,20 @@ function system_update_7079() {
}
/**
+ * Convert the 'format' column in {date_format_locale} to case sensitive varchar.
+ */
+function system_update_7080() {
+ $spec = array(
+ 'description' => 'The date format string.',
+ 'type' => 'varchar',
+ 'length' => 100,
+ 'not null' => TRUE,
+ 'binary' => TRUE,
+ );
+ db_change_field('date_format_locale', 'format', 'format', $spec);
+}
+
+/**
* @} End of "defgroup updates-7.x-extra".
* The next series of updates should start at 8000.
*/