mirror of
https://github.com/MariaDB/server.git
synced 2026-10-23 18:49:29 +03:00
fixup! 4898afa8c1
This commit is contained in:
@@ -1289,7 +1289,11 @@ public:
|
||||
void archive_create(lsn_t lsn, lsn_t file_size) noexcept
|
||||
{
|
||||
ut_ad(log_sys.latch_have_any());
|
||||
if (ctx.state == PROCESSING)
|
||||
if (ctx.state == PROCESSING &&
|
||||
#ifdef HAVE_PMEM
|
||||
!log_sys.is_mmap() &&
|
||||
#endif
|
||||
true)
|
||||
{
|
||||
mutex.wr_lock();
|
||||
if (ctx.state == PROCESSING && ctx.last_lsn > lsn &&
|
||||
|
||||
Reference in New Issue
Block a user