diff options
Diffstat (limited to 'innobase/log/log0log.c')
-rw-r--r-- | innobase/log/log0log.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/innobase/log/log0log.c b/innobase/log/log0log.c index ced7ce17679..32e7f144026 100644 --- a/innobase/log/log0log.c +++ b/innobase/log/log0log.c @@ -327,7 +327,8 @@ log_pad_current_log_block(void) ulint i; dulint lsn; - log_reserve_and_open(OS_FILE_LOG_BLOCK_SIZE); + /* We retrieve lsn only because otherwise gcc crashed on HP-UX */ + lsn = log_reserve_and_open(OS_FILE_LOG_BLOCK_SIZE); pad_length = OS_FILE_LOG_BLOCK_SIZE - (log_sys->buf_free % OS_FILE_LOG_BLOCK_SIZE) |