Skip to content
Snippets Groups Projects
Commit 83f4ef42 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #851100 by Damien Tournoud: subquery objects are iterated upon.

parent a5f23317
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -1321,6 +1321,9 @@ public function compile(DatabaseConnection $connection, QueryPlaceholderInterfac
$condition['value']->compile($connection, $queryPlaceholder);
$placeholders[] = (string) $condition['value'];
$arguments += $condition['value']->arguments();
// Subqueries are the actual value of the operator, we don't
// need to add another below.
$operator['use_value'] = FALSE;
}
// We assume that if there is a delimiter, then the value is an
// array. If not, it is a scalar. For simplicity, we first convert
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment