diff options
author | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2018-01-29 18:56:08 +0200 |
---|---|---|
committer | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2018-01-30 21:13:24 +0200 |
commit | 7a63ffab71644118223aefe66094366a7b7f115e (patch) | |
tree | fcb60bd3f3439cd6a9b30a0827585a8c630696be /mysys/mf_iocache.c | |
parent | 5edd129fbf14eb56e793f84963b3b9e5770c4604 (diff) | |
download | mariadb-git-7a63ffab71644118223aefe66094366a7b7f115e.tar.gz |
Fix an out of scope bzero
Diffstat (limited to 'mysys/mf_iocache.c')
-rw-r--r-- | mysys/mf_iocache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/mf_iocache.c b/mysys/mf_iocache.c index 31a09e214d2..bd71e2ae527 100644 --- a/mysys/mf_iocache.c +++ b/mysys/mf_iocache.c @@ -258,7 +258,7 @@ int init_io_cache(IO_CACHE *info, File file, size_t cachesize, else { /* Clear mutex so that safe_mutex will notice that it's not initialized */ - bzero((char*) &info->append_buffer_lock, sizeof(info)); + bzero((char*) &info->append_buffer_lock, sizeof(info->append_buffer_lock)); } #endif |