wrong merge of bug9676 from 4.1 to 5.0 corrected

This commit is contained in:
unknown 2006-06-20 11:28:59 +03:00
parent a9ac0557db
commit 7751eeaf3c

View File

@ -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;
}