summaryrefslogtreecommitdiff
path: root/storage/xtradb/include/mtr0log.ic
diff options
context:
space:
mode:
Diffstat (limited to 'storage/xtradb/include/mtr0log.ic')
-rw-r--r--storage/xtradb/include/mtr0log.ic2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/xtradb/include/mtr0log.ic b/storage/xtradb/include/mtr0log.ic
index db017c7d16e..63af02ba409 100644
--- a/storage/xtradb/include/mtr0log.ic
+++ b/storage/xtradb/include/mtr0log.ic
@@ -203,7 +203,7 @@ mlog_write_initial_log_record_fast(
system tablespace */
if ((space == TRX_SYS_SPACE
|| (srv_doublewrite_file && space == TRX_DOUBLEWRITE_SPACE))
- && offset >= FSP_EXTENT_SIZE && offset < 3 * FSP_EXTENT_SIZE) {
+ && offset >= (ulint)FSP_EXTENT_SIZE && offset < 3 * (ulint)FSP_EXTENT_SIZE) {
if (trx_doublewrite_buf_is_being_created) {
/* Do nothing: we only come to this branch in an
InnoDB database creation. We do not redo log