Skip to content

Commit 865c20a

Browse files
author
Daniil Anisimov
committed
Change the logic for equivalence classes.
It now uses EquivalenceClass structures to indicate which clauses are equivalent.
1 parent a3e8286 commit 865c20a

12 files changed

+1894
-185
lines changed

cardinality_hooks.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ aqo_get_parameterized_baserel_size(PlannerInfo *root,
186186

187187
forboth(l, allclauses, l2, selectivities)
188188
{
189-
current_hash = get_clause_hash(((AQOClause *) lfirst(l))->clause,
189+
current_hash = get_clause_hash((AQOClause *) lfirst(l),
190190
nargs, args_hash, eclass_hash);
191191
cache_selectivity(current_hash, rel->relid, rte->relid,
192192
*((double *) lfirst(l2)));

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy