1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

fixed another small bug with LIMIT )

This commit is contained in:
Sinisa@sinisa.nasamreza.org
2002-11-19 19:43:45 +02:00
parent 771af76c90
commit 20e100d3b3
3 changed files with 8 additions and 1 deletions

View File

@ -324,7 +324,7 @@ JOIN::prepare(TABLE_LIST *tables_init,
this->group= group_list != 0;
row_limit= ((select_distinct || order || group_list) ? HA_POS_ERROR :
unit->select_limit_cnt);
do_send_rows = (row_limit) ? 1 : 0;
do_send_rows = (unit->select_limit_cnt) ? 1 : 0;
this->unit= unit;
#ifdef RESTRICTED_GROUP