mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
branches/zip: buf_page_peek_if_too_old(): Silence a compiler warning
that was introduced in r5779 on 32-bit systems.
This commit is contained in:
parent
3952b42b75
commit
2b85929647
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ buf_page_peek_if_too_old(
|
|||
return(FALSE);
|
||||
} else {
|
||||
/* FIXME: bpage->freed_page_clock is 31 bits */
|
||||
return((buf_pool->freed_page_clock & ((1 << 31) - 1))
|
||||
return((buf_pool->freed_page_clock & ((1UL << 31) - 1))
|
||||
> bpage->freed_page_clock
|
||||
+ (buf_pool->curr_size
|
||||
* (BUF_LRU_OLD_RATIO_DIV - buf_LRU_old_ratio)
|
||||
|
|
Loading…
Add table
Reference in a new issue