mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-18553: MDEV-16327 pre-requisits part 1: isolation of LIMIT/OFFSET handling
This commit is contained in:
@ -386,7 +386,7 @@ bool table_value_constr::exec(SELECT_LEX *sl)
|
||||
|
||||
while ((elem= li++))
|
||||
{
|
||||
if (send_records >= sl->master_unit()->select_limit_cnt)
|
||||
if (send_records >= sl->master_unit()->lim.get_select_limit())
|
||||
break;
|
||||
int rc= result->send_data(*elem);
|
||||
if (!rc)
|
||||
|
Reference in New Issue
Block a user