mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
new subselect tests
LIMIT fixed AVG & STD with subselect fixed join_free fixed to be depended queries compatible sort_default removed from SELECT_LEX mysql-test/r/subselect.result: new subselect tests mysql-test/t/subselect.test: new subselect tests sql/item.cc: marking as depended _ALL_ subselects under select from wich depend sql/item_subselect.cc: limit fixed TODO added sql/sql_class.cc: AVG & STD function with subselects fixed sql/sql_lex.h: sort_default removed sql/sql_parse.cc: limit fixed sql/sql_select.cc: fixed to be subselect compatible sql/sql_yacc.yy: sort_default removed
This commit is contained in:
@ -2690,12 +2690,12 @@ mysql_init_query(THD *thd)
|
||||
void
|
||||
mysql_init_select(LEX *lex)
|
||||
{
|
||||
SELECT_LEX *select_lex = lex->select;
|
||||
SELECT_LEX *select_lex= lex->select;
|
||||
select_lex->init_select();
|
||||
select_lex->select_limit=lex->thd->default_select_limit;
|
||||
select_lex->offset_limit=0;
|
||||
lex->exchange = 0;
|
||||
lex->proc_list.first=0;
|
||||
select_lex->master_unit()->select_limit= select_lex->select_limit=
|
||||
lex->thd->default_select_limit;
|
||||
lex->exchange= 0;
|
||||
lex->proc_list.first= 0;
|
||||
}
|
||||
|
||||
bool
|
||||
|
Reference in New Issue
Block a user