mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 08:03:03 +01:00
Fix bug in aggregate-functions which burried EXISTS/SINGULAR predicate.
See bug #1063254
This commit is contained in:
parent
b92d1a1fbb
commit
d599c8f945
@ -1783,8 +1783,10 @@ static bool aggregate_found2(const dsql_req* request, const dsql_nod* node,
|
|||||||
|
|
||||||
case nod_exists:
|
case nod_exists:
|
||||||
case nod_singular:
|
case nod_singular:
|
||||||
|
if (!ignore_sub_selects) {
|
||||||
aggregate = aggregate_found2(request, node->nod_arg[0], current_level,
|
aggregate = aggregate_found2(request, node->nod_arg[0], current_level,
|
||||||
deepest_level, ignore_sub_selects);
|
deepest_level, ignore_sub_selects);
|
||||||
|
}
|
||||||
return aggregate;
|
return aggregate;
|
||||||
|
|
||||||
case nod_aggregate:
|
case nod_aggregate:
|
||||||
|
Loading…
Reference in New Issue
Block a user