summaryrefslogtreecommitdiff
path: root/storage/perfschema/pfs_account.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_account.cc
parentf62f4bd563a96ddd78b78d563e4d4cf5ad27aae1 (diff)
downloadmariadb-git-c46ce32cfbec0b3c21cb0e5b6bca91bd437130cf.tar.gz
Fixed memory leaks. alias.test now runs clean with valgrind
Diffstat (limited to 'storage/perfschema/pfs_account.cc')
-rw-r--r--storage/perfschema/pfs_account.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/perfschema/pfs_account.cc b/storage/perfschema/pfs_account.cc
index 9221fc3b991..b91039f6cd7 100644
--- a/storage/perfschema/pfs_account.cc
+++ b/storage/perfschema/pfs_account.cc
@@ -153,7 +153,7 @@ int init_account_hash(void)
{
lf_hash_init(&account_hash, sizeof(PFS_account*), LF_HASH_UNIQUE,
0, 0, account_hash_get_key, &my_charset_bin);
- account_hash.size= account_max;
+ /* account_hash.size= account_max; */
account_hash_inited= true;
}
return 0;