This commit is contained in:
GitHub Merge Button 2012-07-18 00:39:54 -07:00
commit 732642a5aa
1 changed files with 1 additions and 1 deletions

View File

@ -947,7 +947,7 @@ class PostgreSQLDatabase extends SS_Database {
if(!$asDbValue){
$tableCol= 'ix_' . $tableName . '_' . $indexName;
$tableCol= 'ix_' . str_replace("\\", "_", $tableName) . '_' . $indexName;
if(strlen($tableCol)>64){
$tableCol=substr($indexName, 0, 59) . rand(1000, 9999);
}