diff options
author | Sinisa@sinisa.nasamreza.org <> | 2002-12-24 13:58:07 +0200 |
---|---|---|
committer | Sinisa@sinisa.nasamreza.org <> | 2002-12-24 13:58:07 +0200 |
commit | 5988ae5ca590dcecaee0158ed8e9699f274e30d9 (patch) | |
tree | 47e3ffaa6aba38ec5904fb7bcd002fa92b377664 /sql/sql_cache.cc | |
parent | 4158538dc7bf80f3e3d9965b18dd98632d91b905 (diff) | |
download | mariadb-git-5988ae5ca590dcecaee0158ed8e9699f274e30d9.tar.gz |
Many fixes.
I still have to make a test case for :
UPDATE from sub-select with derived table
Diffstat (limited to 'sql/sql_cache.cc')
-rw-r--r-- | sql/sql_cache.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc index aa0f5824b4e..1cfbbf74da6 100644 --- a/sql/sql_cache.cc +++ b/sql/sql_cache.cc @@ -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()) /* |