MDEV-24 compilation on windows

This commit is contained in:
Sergei Golubchik 2025-06-12 12:37:33 +02:00
parent 29d7350c9c
commit 2d3428e953

View File

@ -285,7 +285,7 @@ static int really_execute_checkpoint(void)
if (unlikely(translog_write_record(&lsn, LOGREC_CHECKPOINT,
&dummy_transaction_object, NULL,
total_rec_length,
log_pos - log_array,
(uint)(log_pos - log_array),
log_array, NULL, NULL) ||
translog_flush(lsn)))
{