1
0
mirror of synced 2025-02-01 04:51:45 +03:00
This commit is contained in:
zYne 2007-06-27 18:03:16 +00:00
parent 1242c8e846
commit 279f3d69f9
2 changed files with 5 additions and 3 deletions

View File

@ -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) {

View File

@ -102,7 +102,6 @@ class Doctrine_Query_Subquery_TestCase extends Doctrine_UnitTestCase
$count = $users->count();
} catch (Doctrine_Exception $e) {
$this->fail();
}