Skip to content

Commit 3b998f0

Browse files
committed
Temporary fix
1 parent 1e49937 commit 3b998f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

storage/innobase/log/log0log.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ void log_t::create(lsn_t lsn) noexcept
474474
ut_ad(is_latest());
475475
ut_ad(this == &log_sys);
476476

477-
next_checkpoint_no= 4 * is_encrypted();
477+
next_checkpoint_no= static_cast<uint16_t>(4 * is_encrypted());
478478
write_lsn_offset= 0;
479479
base_lsn.store(lsn, std::memory_order_relaxed);
480480
flushed_to_disk_lsn.store(lsn, std::memory_order_relaxed);

0 commit comments

Comments
 (0)