Changeset 5286
- Timestamp:
- 12/11/08 09:56:16 (7 months ago)
- Location:
- branches/1.1/lib/Doctrine
- Files:
-
- 2 modified
-
Connection.php (modified) (3 diffs)
-
Connection/Oracle.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.1/lib/Doctrine/Connection.php
r5268 r5286 154 154 'varchar_max_length' => 255, 155 155 'sql_file_delimiter' => ";\n", 156 'max_identifier_length' => 64, 156 157 ); 157 158 … … 1606 1607 $format = $this->getAttribute(Doctrine::ATTR_FKNAME_FORMAT); 1607 1608 1608 return $this->_generateUniqueName('foreign_keys', $parts, $key, $format, 64);1609 return $this->_generateUniqueName('foreign_keys', $parts, $key, $format, $this->properties['max_identifier_length']); 1609 1610 } 1610 1611 … … 1624 1625 $format = $this->getAttribute(Doctrine::ATTR_IDXNAME_FORMAT); 1625 1626 1626 return $this->_generateUniqueName('indexes', $parts, $key, $format, 64);1627 return $this->_generateUniqueName('indexes', $parts, $key, $format, $this->properties['max_identifier_length']); 1627 1628 } 1628 1629 -
branches/1.1/lib/Doctrine/Connection/Oracle.php
r5117 r5286 64 64 $this->properties['varchar2_max_length'] = 4000; 65 65 $this->properties['number_max_precision'] = 38; 66 $this->properties['max_identifier_length'] = 30; 66 67 67 68 parent::__construct($manager, $adapter);