summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-02-28 20:24:22 +0100
committerSergei Golubchik <sergii@pisem.net>2014-02-28 20:24:22 +0100
commitd85fac98bbd20c34b721de7814f5f36119bae0df (patch)
tree0d0f1cd8374c41a3aa8724d3e715a51a576b4337 /sql
parent41c760b121494de2c6d58f8c1a600d599ad4e0a5 (diff)
downloadmariadb-git-d85fac98bbd20c34b721de7814f5f36119bae0df.tar.gz
followup for MDEV-4309: DBT-3 Q1 benchmark: Benchmark + profile a patch
don't forget to initialize ORDER::fast_field_copier_setup
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_parse.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index 30448266f4e..18e1a441f68 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -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);
}