Commit 279f3d69 authored by zYne's avatar zYne

--no commit message

--no commit message
parent 1242c8e8
......@@ -928,9 +928,12 @@ class Doctrine_Query extends Doctrine_Query_Abstract implements Countable
if (strpos($part, '.') !== false) {
$separator = '.';
}
if ($driverName == 'mysql' || $driverName == 'pgsql') {
if (strpos($part, '__') !== false) {
$separator = '__';
}
}
if ($separator) {
$e = explode($separator, $part);
......
......@@ -102,7 +102,6 @@ class Doctrine_Query_Subquery_TestCase extends Doctrine_UnitTestCase
$count = $users->count();
} catch (Doctrine_Exception $e) {
$this->fail();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment