Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.2.0-RC1, 1.2.0, 1.2.1, 1.2.2
-
Fix Version/s: 1.2.3
-
Component/s: Connection
-
Labels:None
Description
When using identifier quoting with oracle driver, the _createLimitSubquery is giving into the select statement unquoted subquery aliases. That leads to Oracle errors.
Simple patch:
{{
diff --git a/lib/Doctrine/Connection/Oracle.php b/lib/Doctrine/Connection/Oracle.php
index db538fb..6e5f629 100644
— a/lib/Doctrine/Connection/Oracle.php
+++ b/lib/Doctrine/Connection/Oracle.php
@@ -108,8 +108,8 @@ class Doctrine_Connection_Oracle extends Doctrine_Connection_Common
$column = $column === null ? '*' : $this->quoteIdentifier($column);
if ($offset > 0)
}
Fixed in http://github.com/milokmet/doctrine1/tree/DC-703