summaryrefslogtreecommitdiff
path: root/storage/perfschema/pfs_instr.cc
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2013-06-20 14:49:25 +0300
committerMichael Widenius <monty@askmonty.org>2013-06-20 14:49:25 +0300
commitc46ce32cfbec0b3c21cb0e5b6bca91bd437130cf (patch)
tree46141a35f7f0b7edc9a1627697a9a301e132eb61 /storage/perfschema/pfs_instr.cc
parentf62f4bd563a96ddd78b78d563e4d4cf5ad27aae1 (diff)
downloadmariadb-git-c46ce32cfbec0b3c21cb0e5b6bca91bd437130cf.tar.gz
Fixed memory leaks. alias.test now runs clean with valgrind
Diffstat (limited to 'storage/perfschema/pfs_instr.cc')
-rw-r--r--storage/perfschema/pfs_instr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/perfschema/pfs_instr.cc b/storage/perfschema/pfs_instr.cc
index dd8f21a262c..7b7340cc713 100644
--- a/storage/perfschema/pfs_instr.cc
+++ b/storage/perfschema/pfs_instr.cc
@@ -515,7 +515,7 @@ int init_file_hash(void)
{
lf_hash_init(&filename_hash, sizeof(PFS_file*), LF_HASH_UNIQUE,
0, 0, filename_hash_get_key, &my_charset_bin);
- filename_hash.size= file_max;
+ /* filename_hash.size= file_max; */
filename_hash_inited= true;
}
DBUG_RETURN(0);