summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authorheikki@hundin.mysql.fi <>2003-08-01 12:13:52 +0300
committerheikki@hundin.mysql.fi <>2003-08-01 12:13:52 +0300
commit14f2fc28b6a1c8c8c29d1aef4b9021a571fc2c51 (patch)
treef043c5034a554c11a112d2e39e2e866afe44f869 /innobase
parent3c007c3de99def8c2294b67669132fcacd82d657 (diff)
downloadmariadb-git-14f2fc28b6a1c8c8c29d1aef4b9021a571fc2c51.tar.gz
log0log.c:
Fix assertion failure reported by Alex Kiernan when we compile with the SUN Forte Developer 7 C 5.4 compiler
Diffstat (limited to 'innobase')
-rw-r--r--innobase/log/log0log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/innobase/log/log0log.c b/innobase/log/log0log.c
index 99827da5bf5..1c7a79525e3 100644
--- a/innobase/log/log0log.c
+++ b/innobase/log/log0log.c
@@ -500,7 +500,7 @@ log_group_calc_lsn_offset(
offset = (gr_lsn_size_offset + difference) % group_size;
- ut_a(offset <= 0xFFFFFFFF);
+ ut_a(offset < (((ib_longlong) 1) << 32)); /* offset must be < 4 GB */
/* printf("Offset is %lu gr_lsn_offset is %lu difference is %lu\n",
(ulint)offset,(ulint)gr_lsn_size_offset, (ulint)difference);