mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
Fix buildbot valgrind failure
- Item_in_subselect::init_left_expr_cache() should not try to guess whether the left expression is accessed "over the grouping operation" (i.e. the subselect is evaluated after the grouping while the left_expr is an Item_ref that wraps an expression from before the grouping). Instead, let new_Cached_item not to try accessing item->real_item() when creating left expr cache.
This commit is contained in:
parent
0d734037cc
commit
e5f238a051
4 changed files with 6 additions and 21 deletions
|
|
@ -3414,7 +3414,7 @@ void mark_select_range_as_dependent(THD *thd,
|
|||
Item_ident *resolved_item);
|
||||
|
||||
extern Cached_item *new_Cached_item(THD *thd, Item *item,
|
||||
bool use_result_field);
|
||||
bool pass_through_ref);
|
||||
extern Item_result item_cmp_type(Item_result a,Item_result b);
|
||||
extern void resolve_const_item(THD *thd, Item **ref, Item *cmp_item);
|
||||
extern int stored_field_cmp_to_item(THD *thd, Field *field, Item *item);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue