Commit 7751eeaf authored by unknown's avatar unknown

wrong merge of bug9676 from 4.1 to 5.0 corrected

parent a9ac0557
......@@ -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