mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-18553: MDEV-16327 pre-requisits part 2: uniform of LIMIT/OFFSET handling
Now both offset and limit are stored and do not chenged during execution (offset is decreased during processing in versions before 10.5). (Big part of this changes made by Monty)
This commit is contained in:
@ -436,7 +436,7 @@ bool PROFILING::show_profiles()
|
||||
|
||||
double query_time_usecs= prof->m_end_time_usecs - prof->m_start_time_usecs;
|
||||
|
||||
if (unit->lim.check_and_move_offset())
|
||||
if (unit->lim.check_offset(idx))
|
||||
continue;
|
||||
if (idx > unit->lim.get_select_limit())
|
||||
break;
|
||||
|
Reference in New Issue
Block a user