mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
limit initialization moved to method of SELECT_LEX_UNIT (WL#695)
(SCRUM) counters was not moved to SELECT_LEX because it used in methods inherited from select_result which should be applied to whole union results mysql-test/r/union.result: this is results is true sql/item_subselect.cc: limit initialization moved to method of SELECT_LEX_UNIT sql/sql_derived.cc: limit initialization moved to method of SELECT_LEX_UNIT sql/sql_lex.cc: limit initialization moved to method of SELECT_LEX_UNIT sql/sql_lex.h: limit initialization moved to method of SELECT_LEX_UNIT sql/sql_parse.cc: limit initialization moved to handle_select for single select (UNIONs already have it) sql/sql_select.cc: limit initialization moved to method of SELECT_LEX_UNIT sql/sql_union.cc: layout fixed limit initialization moved to method of SELECT_LEX_UNIT
This commit is contained in:
@ -359,6 +359,8 @@ public:
|
||||
|
||||
void print(String *str);
|
||||
|
||||
void set_limit(ha_rows limit, ha_rows offset, st_select_lex *sl);
|
||||
|
||||
friend void mysql_init_query(THD *thd, bool lexonly);
|
||||
friend int subselect_union_engine::exec();
|
||||
private:
|
||||
|
Reference in New Issue
Block a user