mirror of
https://github.com/MariaDB/server.git
synced 2026-04-20 23:35:32 +02:00
Merge bk-internal:/home/bk/mysql-5.1-new
into mysql.com:/usr/local/mysql/mysql-5.1-new
This commit is contained in:
commit
b6248680b7
4 changed files with 24 additions and 20 deletions
|
|
@ -1604,12 +1604,12 @@ btr_search_validate(void)
|
|||
mem_heap_t* heap = NULL;
|
||||
ulint offsets_[REC_OFFS_NORMAL_SIZE];
|
||||
ulint* offsets = offsets_;
|
||||
*offsets_ = (sizeof offsets_) / sizeof *offsets_;
|
||||
|
||||
/* How many cells to check before temporarily releasing
|
||||
btr_search_latch. */
|
||||
ulint chunk_size = 10000;
|
||||
|
||||
*offsets_ = (sizeof offsets_) / sizeof *offsets_;
|
||||
|
||||
rw_lock_x_lock(&btr_search_latch);
|
||||
|
||||
cell_count = hash_get_n_cells(btr_search_sys->hash_index);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue