1
0
mirror of synced 2025-01-31 12:32:59 +03:00
This commit is contained in:
zYne 2007-05-24 22:08:54 +00:00
parent b1a7875618
commit 1e5c0d674c

View File

@ -76,7 +76,7 @@ class Doctrine_Connection_Oracle extends Doctrine_Connection
*/ */
public function setDateFormat($format = 'YYYY-MM-DD HH24:MI:SS') public function setDateFormat($format = 'YYYY-MM-DD HH24:MI:SS')
{ {
$this->exec('ALTER SESSION SET NLS_DATE_FORMAT "'.$format.'";'); $this->exec('ALTER SESSION SET NLS_DATE_FORMAT = "' . $format . '"');
} }
/** /**
* Adds an driver-specific LIMIT clause to the query * Adds an driver-specific LIMIT clause to the query