mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
Fix an out of scope bzero
This commit is contained in:
parent
5edd129fbf
commit
7a63ffab71
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue