Fix an out of scope bzero
This commit is contained in:
parent
5edd129fbf
commit
7a63ffab71
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user