diff options
author | heikki@hundin.mysql.fi <> | 2002-12-22 01:54:29 +0200 |
---|---|---|
committer | heikki@hundin.mysql.fi <> | 2002-12-22 01:54:29 +0200 |
commit | 843e1d8e9c6bff2b25a2ac8c367f9d7fcbc528cc (patch) | |
tree | 120402316f5b15cb879b72bdb1c4cf59c8d932cb /innobase/include/buf0buf.h | |
parent | f03bbd3fe28455885603890a21eebfe2792f2704 (diff) | |
download | mariadb-git-843e1d8e9c6bff2b25a2ac8c367f9d7fcbc528cc.tar.gz |
Many files:
Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
sql_select.cc:
Remove superfluous prints to .err log when a locking SELECT fails to a deadlock or a lock wait timeout
Diffstat (limited to 'innobase/include/buf0buf.h')
-rw-r--r-- | innobase/include/buf0buf.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/innobase/include/buf0buf.h b/innobase/include/buf0buf.h index f76c437bd1d..395f88a2c7c 100644 --- a/innobase/include/buf0buf.h +++ b/innobase/include/buf0buf.h @@ -728,8 +728,8 @@ struct buf_block_struct{ bufferfixed, or (2) the thread has an x-latch on the block */ - /* 5. Hash search fields: NOTE that these fields are protected by - btr_search_mutex */ + /* 5. Hash search fields: NOTE that the first 4 fields are NOT + protected by any semaphore! */ ulint n_hash_helps; /* counter which controls building of a new hash index for the page */ @@ -742,6 +742,9 @@ struct buf_block_struct{ whether the leftmost record of several records with the same prefix should be indexed in the hash index */ + + /* The following 4 fields are protected by btr_search_latch: */ + ibool is_hashed; /* TRUE if hash index has already been built on this page; note that it does not guarantee that the index is |