diff options
author | Sergei Golubchik <serg@mariadb.org> | 2015-08-03 13:05:40 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-08-03 13:05:40 +0200 |
commit | 167c540048ed1c49fa97f86cadba1e7ff0559d12 (patch) | |
tree | 990742a8ccd6c994aa14c5ac4ace40af0ef23cee /storage/perfschema/pfs_host.cc | |
parent | 3c3724991e4ce802f79a8dbee2f72e3073729f2f (diff) | |
download | mariadb-git-167c540048ed1c49fa97f86cadba1e7ff0559d12.tar.gz |
5.6.26
Diffstat (limited to 'storage/perfschema/pfs_host.cc')
-rw-r--r-- | storage/perfschema/pfs_host.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/perfschema/pfs_host.cc b/storage/perfschema/pfs_host.cc index 3d8565d9d17..99e6820cdff 100644 --- a/storage/perfschema/pfs_host.cc +++ b/storage/perfschema/pfs_host.cc @@ -66,7 +66,7 @@ int init_host(const PFS_global_param *param) if (host_max > 0) { - host_array= PFS_MALLOC_ARRAY(host_max, PFS_host, + host_array= PFS_MALLOC_ARRAY(host_max, sizeof(PFS_host), PFS_host, MYF(MY_ZEROFILL)); if (unlikely(host_array == NULL)) return 1; |