Commit f2471d85 authored by gkodinov@mysql.com's avatar gkodinov@mysql.com

wrong merge of bug9676 from 4.1 to 5.0 corrected

parent 8a54caab
......@@ -8817,7 +8817,7 @@ create_tmp_table(THD *thd,TMP_TABLE_PARAM *param,List<Item> &fields,
}
else
{
set_if_smaller(table->max_rows, rows_limit);
set_if_smaller(table->s->max_rows, rows_limit);
param->end_write_records= rows_limit;
}
......
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