From 331c2910cf7c38abea232381ffc94232ab9e319b Mon Sep 17 00:00:00 2001 From: unknown <heikki@hundin.mysql.fi> Date: Fri, 1 Aug 2003 12:13:52 +0300 Subject: [PATCH] log0log.c: Fix assertion failure reported by Alex Kiernan when we compile with the SUN Forte Developer 7 C 5.4 compiler innobase/log/log0log.c: Fix assertion failure reported by Alex Kiernan when we compile with the SUN Forte Developer 7 C 5.4 compiler --- innobase/log/log0log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.9