1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +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

@ -5196,9 +5196,9 @@ public:
/* this method is called just before the first row of the table can be read */
virtual void prepare_to_read_rows() {}
void reset_offset_limit()
void remove_offset_limit()
{
unit->offset_limit_cnt= 0;
unit->lim.remove_offset();
}
/*
@ -6009,7 +6009,7 @@ public:
*/
DBUG_ASSERT(false); /* purecov: inspected */
}
void reset_offset_limit_cnt()
void remove_offset_limit()
{
// EXPLAIN should never output to a select_union_direct
DBUG_ASSERT(false); /* purecov: inspected */