• Alexander Barkov's avatar
    MDEV-7950 Item_func::type() takes 0.26% in OLTP RO · 5991efc3
    Alexander Barkov authored
    Step #8: Adding get_mm_tree() in Item_func, Item_func_between,
    Item_func_in, Item_equal. This removes one virtual call item->type()
    in queries like:
      SELECT * FROM t1 WHERE c BETWEEN const1 AND const2;
      SELECT * FROM t1 WHERE c>const;
      SELECT * FROM t1 WHERE c IN (const_list);
    5991efc3
item_func.h 64.4 KB