mirror of
https://github.com/MariaDB/server.git
synced 2026-05-05 06:35:33 +02:00
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/bk/work-innodb-4.1 sql/item_subselect.cc: Auto merged sql/sql_lex.cc: Auto merged sql/sql_lex.h: Auto merged sql/sql_select.cc: Auto merged
This commit is contained in:
commit
4b370d3d9a
6 changed files with 33 additions and 2 deletions
|
|
@ -74,6 +74,11 @@ void Item_subselect::init(st_select_lex *select_lex,
|
|||
else
|
||||
engine= new subselect_single_select_engine(select_lex, result, this);
|
||||
}
|
||||
{
|
||||
SELECT_LEX *upper= unit->outer_select();
|
||||
if (upper->parsing_place == SELECT_LEX_NODE::IN_HAVING)
|
||||
upper->subquery_in_having= 1;
|
||||
}
|
||||
DBUG_VOID_RETURN;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue