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

@ -1062,6 +1062,8 @@ void Query_cache::invalidate(THD *thd, TABLE_LIST *tables_used,
for (; tables_used; tables_used=tables_used->next)
{
DBUG_ASSERT(!using_transactions || tables_used->table!=0);
if (tables_used->derived)
continue;
if (using_transactions &&
tables_used->table->file->has_transactions())
/*