1
0
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:
Sinisa@sinisa.nasamreza.org
2002-12-24 13:58:07 +02:00
parent 4158538dc7
commit 5988ae5ca5
9 changed files with 53 additions and 20 deletions

View File

@ -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);
}
}