mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
After merge fix.
sql/sql_lex.cc: No need to change options here.
This commit is contained in:
@ -1837,8 +1837,6 @@ void st_select_lex_unit::set_limit(SELECT_LEX *values,
|
||||
select_limit_cnt= values->select_limit+values->offset_limit;
|
||||
if (select_limit_cnt < values->select_limit)
|
||||
select_limit_cnt= HA_POS_ERROR; // no limit
|
||||
if (select_limit_cnt == HA_POS_ERROR)
|
||||
sl->options&= ~OPTION_FOUND_ROWS;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user