mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fixed vargrind problems in check_join_cache_usage().
Merged the patch for bug 697557. Adjusted the results.
This commit is contained in:
@ -7877,8 +7877,8 @@ uint check_join_cache_usage(JOIN_TAB *tab,
|
||||
bool *icp_other_tables_ok,
|
||||
bool *idx_cond_fact_out)
|
||||
{
|
||||
uint flags;
|
||||
COST_VECT cost;
|
||||
uint flags= 0;
|
||||
ha_rows rows= 0;
|
||||
uint bufsz= 4096;
|
||||
JOIN_CACHE *prev_cache=0;
|
||||
@ -7996,8 +7996,8 @@ uint check_join_cache_usage(JOIN_TAB *tab,
|
||||
}
|
||||
|
||||
if ((cache_level <=4 && !no_hashed_cache) || no_bka_cache ||
|
||||
((flags & HA_MRR_NO_ASSOCIATION) && cache_level <=6) ||
|
||||
tab->is_ref_for_hash_join())
|
||||
tab->is_ref_for_hash_join() ||
|
||||
((flags & HA_MRR_NO_ASSOCIATION) && cache_level <=6))
|
||||
{
|
||||
if (!tab->hash_join_is_possible() ||
|
||||
tab->make_scan_filter())
|
||||
|
Reference in New Issue
Block a user