mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
One more post-review fix.
This commit is contained in:
parent
ca6645d852
commit
19b8379af6
1 changed files with 2 additions and 3 deletions
|
@ -206,9 +206,8 @@ bool st_select_lex_unit::prepare(THD *thd_arg, select_result *sel_result,
|
||||||
|
|
||||||
thd_arg->lex->current_select= sl;
|
thd_arg->lex->current_select= sl;
|
||||||
|
|
||||||
can_skip_order_by= is_union &&
|
can_skip_order_by= is_union && !(sl->braces && sl->explicit_limit);
|
||||||
(!sl->braces || sl->select_limit == HA_POS_ERROR);
|
|
||||||
|
|
||||||
res= join->prepare(&sl->ref_pointer_array,
|
res= join->prepare(&sl->ref_pointer_array,
|
||||||
(TABLE_LIST*) sl->table_list.first, sl->with_wild,
|
(TABLE_LIST*) sl->table_list.first, sl->with_wild,
|
||||||
sl->where,
|
sl->where,
|
||||||
|
|
Loading…
Reference in a new issue