mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge branch '10.1' into 10.2
This commit is contained in:
@ -2797,14 +2797,13 @@ void st_select_lex::print_limit(THD *thd,
|
||||
if (item && unit->global_parameters() == this)
|
||||
{
|
||||
Item_subselect::subs_type subs_type= item->substype();
|
||||
if (subs_type == Item_subselect::EXISTS_SUBS ||
|
||||
subs_type == Item_subselect::IN_SUBS ||
|
||||
if (subs_type == Item_subselect::IN_SUBS ||
|
||||
subs_type == Item_subselect::ALL_SUBS)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (explicit_limit)
|
||||
if (explicit_limit && select_limit)
|
||||
{
|
||||
str->append(STRING_WITH_LEN(" limit "));
|
||||
if (offset_limit)
|
||||
|
Reference in New Issue
Block a user