We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e49937 commit 3b998f0Copy full SHA for 3b998f0
1 file changed
storage/innobase/log/log0log.cc
@@ -474,7 +474,7 @@ void log_t::create(lsn_t lsn) noexcept
474
ut_ad(is_latest());
475
ut_ad(this == &log_sys);
476
477
- next_checkpoint_no= 4 * is_encrypted();
+ next_checkpoint_no= static_cast<uint16_t>(4 * is_encrypted());
478
write_lsn_offset= 0;
479
base_lsn.store(lsn, std::memory_order_relaxed);
480
flushed_to_disk_lsn.store(lsn, std::memory_order_relaxed);
0 commit comments