summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2018-02-03 12:53:30 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2018-02-03 12:53:30 +0200
commit8812a2f85809aaa9e3f78b09cb4d76ea3b2b8b4a (patch)
tree3d91ee7a6188edd11e3e4baaba1dae9ee26b5eb4 /mysys
parentec03390f9b39db005f612bf832ce9638da787eac (diff)
parent0765caa073db5a9209934ce0ca852fb2f8a256e4 (diff)
downloadmariadb-git-8812a2f85809aaa9e3f78b09cb4d76ea3b2b8b4a.tar.gz
Merge 10.0 into 10.1
Diffstat (limited to 'mysys')
-rw-r--r--mysys/mf_iocache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/mf_iocache.c b/mysys/mf_iocache.c
index d861c2c3d4f..a0ddc3e40a5 100644
--- a/mysys/mf_iocache.c
+++ b/mysys/mf_iocache.c
@@ -300,7 +300,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