1
0
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:
Oleksandr Byelkin
2019-09-26 09:49:50 +02:00
parent 8336371441
commit eb0804ef5e
18 changed files with 198 additions and 154 deletions

View File

@ -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)