summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <gkodinov@mysql.com>2006-06-20 11:28:59 +0300
committerunknown <gkodinov@mysql.com>2006-06-20 11:28:59 +0300
commit7751eeaf3c928cc799f5ce3f4766e44367a70910 (patch)
tree3aade5ec8c474faaaf71508234660c854e8f6872
parenta9ac0557db6b1e273f645c53701f3ab792ad2493 (diff)
downloadmariadb-git-7751eeaf3c928cc799f5ce3f4766e44367a70910.tar.gz
wrong merge of bug9676 from 4.1 to 5.0 corrected
-rw-r--r--sql/sql_select.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc
index a243f22e7ee..fe4993fddbf 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -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;
}