Commit 279f3d69 authored by zYne's avatar zYne

--no commit message

--no commit message
parent 1242c8e8
...@@ -928,8 +928,11 @@ class Doctrine_Query extends Doctrine_Query_Abstract implements Countable ...@@ -928,8 +928,11 @@ class Doctrine_Query extends Doctrine_Query_Abstract implements Countable
if (strpos($part, '.') !== false) { if (strpos($part, '.') !== false) {
$separator = '.'; $separator = '.';
} }
if (strpos($part, '__') !== false) {
$separator = '__'; if ($driverName == 'mysql' || $driverName == 'pgsql') {
if (strpos($part, '__') !== false) {
$separator = '__';
}
} }
if ($separator) { if ($separator) {
......
...@@ -102,7 +102,6 @@ class Doctrine_Query_Subquery_TestCase extends Doctrine_UnitTestCase ...@@ -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();
} }
......
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