mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
fixed * without tables in IN bug
fixed sunction-test select in IN bug fixed unions in subselect bug
This commit is contained in:
@ -214,7 +214,11 @@ int st_select_lex_unit::exec()
|
||||
if (dependent || !item || !item->assigned())
|
||||
{
|
||||
if (optimized && item && item->assigned())
|
||||
{
|
||||
item->assigned(0); // We will reinit & rexecute unit
|
||||
item->assign_null();
|
||||
table->file->delete_all_rows();
|
||||
}
|
||||
for (SELECT_LEX *sl= first_select(); sl; sl= sl->next_select())
|
||||
{
|
||||
thd->lex.current_select= sl;
|
||||
|
Reference in New Issue
Block a user