Skip to content

Commit

Permalink
Merge pull request silverstripe#10 from tractorcow/3.0-index-typo-fix
Browse files Browse the repository at this point in the history
FIXED: Minor typo in string concatenation
  • Loading branch information
sminnee committed Sep 24, 2012
2 parents 9924c8d + ef4cd20 commit c5eb666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/PostgreSQLDatabase.php
Expand Up @@ -485,7 +485,7 @@ function buildPostgresIndexName($tableName, $indexName, $prefix = 'ix') {
// Assume all indexes also contain the table name
// MD5 the table/index name combo to keep it to a fixed length.
// Exclude the prefix so that the trigger name can be easily generated from the index name
$indexNamePG = "{$prefix}_" . md5("$tableName}_{$indexName}");
$indexNamePG = "{$prefix}_" . md5("{$tableName}_{$indexName}");

// Limit to 63 characters
if (strlen($indexNamePG) > 63)
Expand Down

0 comments on commit c5eb666

Please sign in to comment.