Commit e9b4a041 authored by Alexander Barkov's avatar Alexander Barkov

MDEV-8721 AIX: Compile error xtradb:log0log.cc

parent b63bf736
...@@ -256,7 +256,7 @@ log_buffer_extend( ...@@ -256,7 +256,7 @@ log_buffer_extend(
{ {
ulint move_start; ulint move_start;
ulint move_end; ulint move_end;
byte* tmp_buf = static_cast<byte *>(alloca(OS_FILE_LOG_BLOCK_SIZE)); byte* tmp_buf = reinterpret_cast<byte *>(alloca(OS_FILE_LOG_BLOCK_SIZE));
mutex_enter(&(log_sys->mutex)); mutex_enter(&(log_sys->mutex));
......
...@@ -3097,7 +3097,7 @@ recv_recovery_from_checkpoint_start_func( ...@@ -3097,7 +3097,7 @@ recv_recovery_from_checkpoint_start_func(
#endif /* UNIV_LOG_ARCHIVE */ #endif /* UNIV_LOG_ARCHIVE */
byte* buf; byte* buf;
byte* log_hdr_buf; byte* log_hdr_buf;
byte* log_hdr_buf_base = static_cast<byte *> byte* log_hdr_buf_base = reinterpret_cast<byte *>
(alloca(LOG_FILE_HDR_SIZE + OS_FILE_LOG_BLOCK_SIZE)); (alloca(LOG_FILE_HDR_SIZE + OS_FILE_LOG_BLOCK_SIZE));
dberr_t err; dberr_t err;
ut_when_dtor<recv_dblwr_t> tmp(recv_sys->dblwr); ut_when_dtor<recv_dblwr_t> tmp(recv_sys->dblwr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment