2780
2780
share->max_rows= ~(ha_rows) 0;
2782
2782
share->max_rows= (ha_rows) (((share->db_type() == heap_engine) ?
2784
2784
session->variables.max_heap_table_size) :
2785
2785
session->variables.tmp_table_size) /
2787
2788
set_if_bigger(share->max_rows,(ha_rows)1); // For dummy start options
2789
2790
Push the LIMIT clause to the temporary table creation, so that we