1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Fixed memory leaks. alias.test now runs clean with valgrind

This commit is contained in:
Michael Widenius
2013-06-20 14:49:25 +03:00
parent f62f4bd563
commit c46ce32cfb
11 changed files with 13 additions and 12 deletions

View File

@@ -385,7 +385,7 @@ int init_table_share_hash(void)
{
lf_hash_init(&table_share_hash, sizeof(PFS_table_share*), LF_HASH_UNIQUE,
0, 0, table_share_hash_get_key, &my_charset_bin);
table_share_hash.size= table_share_max;
/* table_share_hash.size= table_share_max; */
table_share_hash_inited= true;
}
return 0;