mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 22:12:30 +01:00
branches/zip:
Fix compilation warning: can_cache_be_updated(): Remove const qualifier because this function needs to call rw_lock_own().
This commit is contained in:
parent
c7e26ddf2e
commit
202405cc1c
1 changed files with 1 additions and 2 deletions
|
@ -719,9 +719,8 @@ static
|
|||
ibool
|
||||
can_cache_be_updated(
|
||||
/*=================*/
|
||||
const trx_i_s_cache_t* cache) /* in: cache */
|
||||
trx_i_s_cache_t* cache) /* in: cache */
|
||||
{
|
||||
|
||||
ullint now;
|
||||
|
||||
/* The minimum time that a cache must not be updated after it has been
|
||||
|
|
Loading…
Reference in a new issue