diff options
author | heikki@hundin.mysql.fi <> | 2002-10-29 23:16:46 +0200 |
---|---|---|
committer | heikki@hundin.mysql.fi <> | 2002-10-29 23:16:46 +0200 |
commit | 9153d88c6bfbb7b1d9fd5fd1633aade67b48e774 (patch) | |
tree | e57bf300e559932ce45e0f749d7349577e7e0479 /innobase/include/buf0buf.h | |
parent | 245218284495701846f49d986bc91997b97563d6 (diff) | |
download | mariadb-git-9153d88c6bfbb7b1d9fd5fd1633aade67b48e774.tar.gz |
Many files:
Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
mysqld.cc:
Change MySQL default isolation level to REPEATABLE READ; note that InnoDB has always had that default, and BDB and MyISAM always run at SERIALIZABLE level anyway
Diffstat (limited to 'innobase/include/buf0buf.h')
-rw-r--r-- | innobase/include/buf0buf.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/innobase/include/buf0buf.h b/innobase/include/buf0buf.h index 591c0ec54ab..f76c437bd1d 100644 --- a/innobase/include/buf0buf.h +++ b/innobase/include/buf0buf.h @@ -274,6 +274,15 @@ buf_page_peek_block( ulint space, /* in: space id */ ulint offset);/* in: page number */ /************************************************************************ +Resets the check_index_page_at_flush field of a page if found in the buffer +pool. */ + +void +buf_reset_check_index_page_at_flush( +/*================================*/ + ulint space, /* in: space id */ + ulint offset);/* in: page number */ +/************************************************************************ Sets file_page_was_freed TRUE if the page is found in the buffer pool. This function should be called when we free a file page and want the debug version to check that it is not accessed any more unless @@ -648,6 +657,14 @@ struct buf_block_struct{ then it can wait for this rw-lock */ buf_block_t* hash; /* node used in chaining to the page hash table */ + ibool check_index_page_at_flush; + /* TRUE if we know that this is + an index page, and want the database + to check its consistency before flush; + note that there may be pages in the + buffer pool which are index pages, + but this flag is not set because + we do not keep track of all pages */ /* 2. Page flushing fields */ UT_LIST_NODE_T(buf_block_t) flush_list; |