diff --git a/lib/Doctrine/Query.php b/lib/Doctrine/Query.php index 0ccfd0c41..a7845e749 100644 --- a/lib/Doctrine/Query.php +++ b/lib/Doctrine/Query.php @@ -824,7 +824,6 @@ class Doctrine_Query extends Doctrine_Hydrate implements Countable { switch(strtolower($this->conn->getName())) { case 'mysql': // mysql doesn't support LIMIT in subqueries - $params = array_merge($this->params, $params); $list = $this->conn->execute($subquery, $params)->fetchAll(PDO::FETCH_COLUMN); $subquery = implode(', ', $list); break;