Commit a88708d4 authored by unknown's avatar unknown

buf0buf.c:

  Eliminate a Purify warning in a multithreaded test: the fields are not protected by a mutex, therefore they can be read uninitialized


innobase/buf/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 a6090e3c
...@@ -1158,6 +1158,9 @@ buf_page_init( ...@@ -1158,6 +1158,9 @@ buf_page_init(
block->n_hash_helps = 0; block->n_hash_helps = 0;
block->is_hashed = FALSE; block->is_hashed = FALSE;
block->n_fields = 1;
block->n_bytes = 0;
block->side = BTR_SEARCH_LEFT_SIDE;
block->file_page_was_freed = FALSE; block->file_page_was_freed = FALSE;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment