Commit d85fac98 authored by Sergei Golubchik's avatar Sergei Golubchik

followup for MDEV-4309: DBT-3 Q1 benchmark: Benchmark + profile a patch

don't forget to initialize ORDER::fast_field_copier_setup
parent 41c760b1
......@@ -6663,6 +6663,7 @@ bool add_to_list(THD *thd, SQL_I_List<ORDER> &list, Item *item,bool asc)
order->free_me=0;
order->used=0;
order->counter_used= 0;
order->fast_field_copier_setup= 0;
list.link_in_list(order, &order->next);
DBUG_RETURN(0);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment