This commit is contained in:
parent
1242c8e846
commit
279f3d69f9
2 changed files with 5 additions and 3 deletions
|
@ -928,8 +928,11 @@ class Doctrine_Query extends Doctrine_Query_Abstract implements Countable
|
|||
if (strpos($part, '.') !== false) {
|
||||
$separator = '.';
|
||||
}
|
||||
if (strpos($part, '__') !== false) {
|
||||
$separator = '__';
|
||||
|
||||
if ($driverName == 'mysql' || $driverName == 'pgsql') {
|
||||
if (strpos($part, '__') !== false) {
|
||||
$separator = '__';
|
||||
}
|
||||
}
|
||||
|
||||
if ($separator) {
|
||||
|
|
|
@ -102,7 +102,6 @@ class Doctrine_Query_Subquery_TestCase extends Doctrine_UnitTestCase
|
|||
|
||||
$count = $users->count();
|
||||
} catch (Doctrine_Exception $e) {
|
||||
|
||||
$this->fail();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue