mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Many fixes.
I still have to make a test case for : UPDATE from sub-select with derived table
This commit is contained in:
@ -168,14 +168,9 @@ int mysql_derived(THD *thd, LEX *lex, SELECT_LEX_UNIT *unit, TABLE_LIST *t)
|
||||
tables->table_list->table=tables->table; // to fix a problem in EXPLAIN
|
||||
}
|
||||
else
|
||||
{
|
||||
if (is_union)
|
||||
unit->exclude();
|
||||
else
|
||||
sl->exclude();
|
||||
}
|
||||
unit->exclude();
|
||||
t->db=(char *)"";
|
||||
t->derived=(SELECT_LEX *)0; // just in case ...
|
||||
t->derived=(SELECT_LEX *)1; // just in case ...
|
||||
table->file->info(HA_STATUS_VARIABLE);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user