diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-04-20 20:02:31 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-04-20 20:02:31 +0000 |
commit | f09028107ca18a8f897ff517d2ed04688e1c567d (patch) | |
tree | 1f6cff867077daac6dbdd9a78967679cadef1b8c /includes/database/mysql/schema.inc | |
parent | 10931908b5885741be806ff15586770691801e51 (diff) | |
download | brdo-f09028107ca18a8f897ff517d2ed04688e1c567d.tar.gz brdo-f09028107ca18a8f897ff517d2ed04688e1c567d.tar.bz2 |
- Patch #413732 by brianV: database code clean-up.
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. |