MDEV-29988: (spider fix) Major performance regression with 10.6.11
Make Item_direct_ref_to_item transparent for Spider
This commit is contained in:
parent
37a316c01d
commit
60f646e2f3
@ -8853,6 +8853,12 @@ int spider_db_print_item_type(
|
||||
DBUG_ENTER("spider_db_print_item_type");
|
||||
DBUG_PRINT("info",("spider COND type=%d", item->type()));
|
||||
|
||||
if (item->type() == Item::REF_ITEM &&
|
||||
((Item_ref*)item)->ref_type() == Item_ref::DIRECT_REF)
|
||||
{
|
||||
item= item->real_item();
|
||||
DBUG_PRINT("info",("spider new COND type=%d", item->type()));
|
||||
}
|
||||
switch (item->type())
|
||||
{
|
||||
case Item::FUNC_ITEM:
|
||||
|
Loading…
x
Reference in New Issue
Block a user