diff options
author | vva@eagle.mysql.r18.ru <> | 2004-08-11 18:55:12 +0500 |
---|---|---|
committer | vva@eagle.mysql.r18.ru <> | 2004-08-11 18:55:12 +0500 |
commit | e1f264748cd0723522d06aef45fd41d617d25966 (patch) | |
tree | 448cd4c8ac7299c7a73b0ee477b75e039dc270c7 | |
parent | e228547a61d958f9702ac59ac06ef41116910d55 (diff) | |
download | mariadb-git-e1f264748cd0723522d06aef45fd41d617d25966.tar.gz |
fixed Bug #4973 Memory is not released when HEAP table is dropped
-rw-r--r-- | sql/ha_heap.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/ha_heap.cc b/sql/ha_heap.cc index eb4bf517374..5aa42fa1beb 100644 --- a/sql/ha_heap.cc +++ b/sql/ha_heap.cc @@ -264,7 +264,8 @@ THR_LOCK_DATA **ha_heap::store_lock(THD *thd, int ha_heap::delete_table(const char *name) { - int error=heap_delete_table(name); + char buff[FN_REFLEN]; + int error= heap_delete_table(fn_format(buff,name,"","",4+2)); return error == ENOENT ? 0 : error; } |