1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +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
This commit is contained in:
bell@sanja.is.com.ua
2002-06-01 23:35:36 +03:00
parent 1684cfbc28
commit fb2cd68b5d
9 changed files with 75 additions and 29 deletions

View File

@ -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