Changeset 4050
- Timestamp:
- 03/19/08 16:05:34 (16 months ago)
- Files:
-
- 1 modified
-
branches/0.10/lib/Doctrine/Connection/Mssql.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.10/lib/Doctrine/Connection/Mssql.php
r4037 r4050 85 85 return $identifier; 86 86 } 87 88 if (strpos($identifier, '.') !== false) { 89 $parts = explode('.', $identifier); 90 $quotedParts = array(); 91 foreach ($parts as $p) { 92 $quotedParts[] = $this->quoteIdentifier($p); 93 } 94 95 return implode('.', $quotedParts); 96 } 97 87 98 return '[' . str_replace(']', ']]', $identifier) . ']'; 88 99 }