summaryrefslogtreecommitdiff
path: root/sql/ha_myisam.cc
diff options
context:
space:
mode:
authormonty@mysql.com <>2004-03-10 13:46:11 +0200
committermonty@mysql.com <>2004-03-10 13:46:11 +0200
commit4ee44751d9ebcca3aa0f6c1f97f732abd7311810 (patch)
tree458c51d3c1854209d1cbc2d57f876333a083ae53 /sql/ha_myisam.cc
parent73780de1292f24d7749045b0e03adbfbaf4df9cd (diff)
downloadmariadb-git-4ee44751d9ebcca3aa0f6c1f97f732abd7311810.tar.gz
Fixed memory leak in DROP DATABASE when using RAID tables (Bug #2882)
Diffstat (limited to 'sql/ha_myisam.cc')
-rw-r--r--sql/ha_myisam.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/ha_myisam.cc b/sql/ha_myisam.cc
index d630e9774a5..d5bbf9b5a92 100644
--- a/sql/ha_myisam.cc
+++ b/sql/ha_myisam.cc
@@ -1210,6 +1210,7 @@ int ha_myisam::create(const char *name, register TABLE *table_arg,
create_info.data_file_name= info->data_file_name;
create_info.index_file_name=info->index_file_name;
+ /* TODO: Check that the following fn_format is really needed */
error=mi_create(fn_format(buff,name,"","",2+4),
table_arg->keys,keydef,
(uint) (recinfo_pos-recinfo), recinfo,