summaryrefslogtreecommitdiff
path: root/innobase/buf
diff options
context:
space:
mode:
authorunknown <marko@hundin.mysql.fi>2004-12-08 14:33:09 +0200
committerunknown <marko@hundin.mysql.fi>2004-12-08 14:33:09 +0200
commitff2c115ba8f048a117f9b3d03bd16b5883087826 (patch)
tree0d1c003aea6202503deae16528af6dba7a5f95be /innobase/buf
parent22b16624d5170bd6cc985be7476dc58e5e721b07 (diff)
downloadmariadb-git-ff2c115ba8f048a117f9b3d03bd16b5883087826.tar.gz
row0mysql.c:
Remove parameter from call to btr_search_validate(). buf0buf.c: Initialize member "index" of buf_block_t. buf0buf.h: Add member "index" to buf_block_t. btr0sea.h: Remove parameter of btr_search_validate() btr0sea.c: Make use of the added member "index" of buf_block_t. innobase/btr/btr0sea.c: Make use of the added member "index" of buf_block_t. innobase/include/btr0sea.h: Remove parameter of btr_search_validate() innobase/include/buf0buf.h: Add member "index" to buf_block_t. innobase/buf/buf0buf.c: Initialize member "index" of buf_block_t. innobase/row/row0mysql.c: Remove parameter from call to btr_search_validate().
Diffstat (limited to 'innobase/buf')
-rw-r--r--innobase/buf/buf0buf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/innobase/buf/buf0buf.c b/innobase/buf/buf0buf.c
index 2f8ce7507ba..8ca353aa5fb 100644
--- a/innobase/buf/buf0buf.c
+++ b/innobase/buf/buf0buf.c
@@ -460,6 +460,7 @@ buf_block_init(
block->file_page_was_freed = FALSE;
block->check_index_page_at_flush = FALSE;
+ block->index = NULL;
block->in_free_list = FALSE;
block->in_LRU_list = FALSE;
@@ -1536,6 +1537,7 @@ buf_page_init(
block->offset = offset;
block->check_index_page_at_flush = FALSE;
+ block->index = NULL;
block->lock_hash_val = lock_rec_hash(space, offset);
block->lock_mutex = NULL;