diff options
Diffstat (limited to 'includes/database/mysql/schema.inc')
-rw-r--r-- | includes/database/mysql/schema.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/database/mysql/schema.inc b/includes/database/mysql/schema.inc index b64e6040f..aa0905a35 100644 --- a/includes/database/mysql/schema.inc +++ b/includes/database/mysql/schema.inc @@ -224,7 +224,7 @@ class DatabaseSchema_mysql extends DatabaseSchema { } if (!empty($spec['unique keys'])) { foreach ($spec['unique keys'] as $key => $fields) { - $keys[] = 'UNIQUE KEY ' . $key .' ('. $this->createKeysSqlHelper($fields) . ')'; + $keys[] = 'UNIQUE KEY ' . $key . ' (' . $this->createKeysSqlHelper($fields) . ')'; } } if (!empty($spec['indexes'])) { @@ -352,7 +352,7 @@ class DatabaseSchema_mysql extends DatabaseSchema { // Work around a bug in some versions of PDO, see http://bugs.php.net/bug.php?id=41125 $comment = str_replace("'", '’', $comment); - + // Truncate comment to maximum comment length. if (isset($length)) { // Add table prefixes before truncating. |