This commit is contained in:
parent
1242c8e846
commit
279f3d69f9
@ -928,9 +928,12 @@ class Doctrine_Query extends Doctrine_Query_Abstract implements Countable
|
|||||||
if (strpos($part, '.') !== false) {
|
if (strpos($part, '.') !== false) {
|
||||||
$separator = '.';
|
$separator = '.';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($driverName == 'mysql' || $driverName == 'pgsql') {
|
||||||
if (strpos($part, '__') !== false) {
|
if (strpos($part, '__') !== false) {
|
||||||
$separator = '__';
|
$separator = '__';
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if ($separator) {
|
if ($separator) {
|
||||||
$e = explode($separator, $part);
|
$e = explode($separator, $part);
|
||||||
|
@ -102,7 +102,6 @@ class Doctrine_Query_Subquery_TestCase extends Doctrine_UnitTestCase
|
|||||||
|
|
||||||
$count = $users->count();
|
$count = $users->count();
|
||||||
} catch (Doctrine_Exception $e) {
|
} catch (Doctrine_Exception $e) {
|
||||||
|
|
||||||
$this->fail();
|
$this->fail();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user