Skip to content
Snippets Groups Projects
Commit 99f5bf68 authored by catch's avatar catch
Browse files

Issue #3250648 by Beakerboy, daffie: Avoid comparing fields with different...

Issue #3250648 by Beakerboy, daffie: Avoid comparing fields with different collations in SelectSubqueryTest
parent 5e0c689e
No related branches found
No related tags found
No related merge requests found
......@@ -232,7 +232,7 @@ public function testExistsSubquerySelect() {
// Subquery to {test_people}.
$subquery = $this->connection->select('test_people', 'tp')
->fields('tp', ['name'])
->where('[tp].[name] = [t].[name]');
->where('[tp].[age] = [t].[age]');
$query->exists($subquery);
$result = $query->execute();
......@@ -263,7 +263,7 @@ public function testNotExistsSubquerySelect() {
// Subquery to {test_people}.
$subquery = $this->connection->select('test_people', 'tp')
->fields('tp', ['name'])
->where('[tp].[name] = [t].[name]');
->where('[tp].[age] = [t].[age]');
$query->notExists($subquery);
// Ensure that we got the right number of records.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment