summaryrefslogtreecommitdiff
path: root/sql/sql_select.h
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2017-02-03 00:10:36 -0800
committerIgor Babaev <igor@askmonty.org>2017-02-03 00:10:36 -0800
commitfd7accabbb4f13d54e5cabc1d20ac0d0ad237beb (patch)
treec58fc41f5d6200092f84f29db9c7caaf071c388b /sql/sql_select.h
parent5606f878bf0cc0c4c589f15c5068a9cc0bb2d197 (diff)
downloadmariadb-git-fd7accabbb4f13d54e5cabc1d20ac0d0ad237beb.tar.gz
Fixed bug mdev-9923.
Partition and order lists of a window specification cannot use constant integer to refer to select list elements.
Diffstat (limited to 'sql/sql_select.h')
-rw-r--r--sql/sql_select.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_select.h b/sql/sql_select.h
index f3b59e5d20c..ab4cc89c9d3 100644
--- a/sql/sql_select.h
+++ b/sql/sql_select.h
@@ -1943,10 +1943,10 @@ int safe_index_read(JOIN_TAB *tab);
int get_quick_record(SQL_SELECT *select);
int setup_order(THD *thd, Ref_ptr_array ref_pointer_array, TABLE_LIST *tables,
List<Item> &fields, List <Item> &all_fields, ORDER *order,
- bool search_in_all_fields= true);
+ bool from_window_spec= false);
int setup_group(THD *thd, Ref_ptr_array ref_pointer_array, TABLE_LIST *tables,
List<Item> &fields, List<Item> &all_fields, ORDER *order,
- bool *hidden_group_fields, bool search_in_all_fields= true);
+ bool *hidden_group_fields, bool from_window_spec= false);
bool fix_inner_refs(THD *thd, List<Item> &all_fields, SELECT_LEX *select,
Ref_ptr_array ref_pointer_array);
int join_read_key2(THD *thd, struct st_join_table *tab, TABLE *table,