diff options
author | Jimmy Yang <jimmy.yang@oracle.com> | 2010-06-30 21:52:47 -0700 |
---|---|---|
committer | Jimmy Yang <jimmy.yang@oracle.com> | 2010-06-30 21:52:47 -0700 |
commit | 6180fa31d32a0b5a6d9f07947d2a735b19cbde69 (patch) | |
tree | b4556824000cd32337441ef0c1a82a5b0e3a5485 /storage/innobase/include/btr0sea.h | |
parent | 75a5aaf2ada1ae4b7a06e3742f5762aa0f330420 (diff) | |
download | mariadb-git-6180fa31d32a0b5a6d9f07947d2a735b19cbde69.tar.gz |
Fix bug #54311 Crash on CHECK PARTITION after concurrent LOAD DATA
and adaptive_hash_index=OFF
rb://389 approved by Marko
Diffstat (limited to 'storage/innobase/include/btr0sea.h')
-rw-r--r-- | storage/innobase/include/btr0sea.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/storage/innobase/include/btr0sea.h b/storage/innobase/include/btr0sea.h index f98ba386f9c..20a2be7f877 100644 --- a/storage/innobase/include/btr0sea.h +++ b/storage/innobase/include/btr0sea.h @@ -190,7 +190,13 @@ btr_search_validate(void); /** Flag: has the search system been enabled? Protected by btr_search_latch and btr_search_enabled_mutex. */ -extern char btr_search_enabled; +extern char btr_search_enabled; + +/** Flag: whether the search system has completed its disabling process, +It is set to TRUE right after buf_pool_drop_hash_index() in +btr_search_disable(), indicating hash index entries are cleaned up. +Protected by btr_search_latch and btr_search_enabled_mutex. */ +extern ibool btr_search_fully_disabled; /** The search info struct in an index */ struct btr_search_struct{ |