mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 19:41:47 +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
c4518db6ed
commit
a0b721f4e6
1 changed files with 1 additions and 2 deletions
|
@ -719,9 +719,8 @@ static
|
||||||
ibool
|
ibool
|
||||||
can_cache_be_updated(
|
can_cache_be_updated(
|
||||||
/*=================*/
|
/*=================*/
|
||||||
const trx_i_s_cache_t* cache) /* in: cache */
|
trx_i_s_cache_t* cache) /* in: cache */
|
||||||
{
|
{
|
||||||
|
|
||||||
ullint now;
|
ullint now;
|
||||||
|
|
||||||
/* The minimum time that a cache must not be updated after it has been
|
/* The minimum time that a cache must not be updated after it has been
|
||||||
|
|
Loading…
Add table
Reference in a new issue