mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-16327: Server doesn't account for engines that supports OFFSET on their own.
Engine get LIMIT/OFFSET info an can it use/reset.
This commit is contained in:
@ -3146,7 +3146,8 @@ bool JOIN::make_aggr_tables_info()
|
||||
{
|
||||
/* Check if the storage engine can intercept the query */
|
||||
Query query= {&all_fields, select_distinct, tables_list, conds,
|
||||
group_list, order ? order : group_list, having};
|
||||
group_list, order ? order : group_list, having,
|
||||
&select_lex->master_unit()->lim};
|
||||
group_by_handler *gbh= ht->create_group_by(thd, &query);
|
||||
|
||||
if (gbh)
|
||||
|
Reference in New Issue
Block a user