mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
MDEV-21534 - fix debug build
This commit is contained in:
parent
30ea63b7d2
commit
47d8fcf4cd
1 changed files with 1 additions and 1 deletions
|
@ -1408,7 +1408,7 @@ recv_find_max_checkpoint_0(ulint* max_field)
|
|||
/** Same as cals_lsn_offset() except that it supports multiple files */
|
||||
lsn_t log_t::file::calc_lsn_offset_old(lsn_t lsn) const
|
||||
{
|
||||
ut_ad(log_sys.mutex.is_owned() || log_sys.write_mutex.is_owned());
|
||||
ut_ad(log_sys.mutex.is_owned() || log_write_lock_own());
|
||||
const lsn_t size= capacity() * recv_sys.files_size();
|
||||
lsn_t l= lsn - this->lsn;
|
||||
if (longlong(l) < 0)
|
||||
|
|
Loading…
Reference in a new issue