Commit 3c3d967b authored by heikki@donna.mysql.fi's avatar heikki@donna.mysql.fi
Browse files

buf0buf.c:

  Eliminate a Purify warning in a multithreaded test: the fields are not protected by a mutex, therefore they can be read uninitialized
parent 0d67738e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1158,6 +1158,9 @@ buf_page_init(

	block->n_hash_helps	= 0;
	block->is_hashed	= FALSE;
	block->n_fields         = 1;
	block->n_bytes          = 0;
	block->side             = BTR_SEARCH_LEFT_SIDE;

	block->file_page_was_freed = FALSE;
}