diff options
author | bell@sanja.is.com.ua <> | 2004-02-12 18:50:00 +0200 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2004-02-12 18:50:00 +0200 |
commit | f20b775c63f4faa2a322c9746762ff20ad02805b (patch) | |
tree | f18eb5352524df11fca1447c65471c4866ec1f13 /sql/sql_class.h | |
parent | 6777120d85d4485af85546c09bab85ba6a478b61 (diff) | |
download | mariadb-git-f20b775c63f4faa2a322c9746762ff20ad02805b.tar.gz |
PS fixed to be compatible with derived tables (BUG#2641)
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index 0d75575f6b7..93703acc97b 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -934,6 +934,7 @@ public: DBUG_ASSERT(current_statement!=0); cleanup_items(current_statement->free_list); free_items(free_list); + close_thread_tables(this); // to close derived tables free_root(&mem_root, MYF(0)); set_item_arena(current_statement); } |