Commit b65fe29b authored by unknown's avatar unknown

Merge sinisa@work.mysql.com:/home/bk/mysql-4.1

into sinisa.nasamreza.org:/mnt/work/mysql-4.1


sql/sql_analyse.cc:
  Auto merged
parents 60aeed17 8f5cc3cb
This diff is collapsed.
This diff is collapsed.
...@@ -324,7 +324,7 @@ void field_str::add() ...@@ -324,7 +324,7 @@ void field_str::add()
} }
else else
{ {
bzero((char*) &s, sizeof(s)); // Let tree handle free of this // bzero((char*) &s, sizeof(s)); // Let tree handle free of this
if ((treemem += length) > pc->max_treemem) if ((treemem += length) > pc->max_treemem)
{ {
room_in_tree = 0; // Remove tree, too big tree room_in_tree = 0; // Remove tree, too big tree
......
...@@ -733,6 +733,8 @@ JOIN::exec() ...@@ -733,6 +733,8 @@ JOIN::exec()
HA_POS_ERROR : unit->select_limit_cnt, HA_POS_ERROR : unit->select_limit_cnt,
0)))) 0))))
order=0; order=0;
if (procedure)
(void)result->prepare(fields_list, unit);
select_describe(this, need_tmp, select_describe(this, need_tmp,
order != 0 && !skip_sort_order, order != 0 && !skip_sort_order,
select_distinct); select_distinct);
......
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