diff options
author | unknown <heikki@hundin.mysql.fi> | 2003-08-01 12:13:52 +0300 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2003-08-01 12:13:52 +0300 |
commit | 53c7ab7afbe74d8d063fe177420b339c762f27c3 (patch) | |
tree | f043c5034a554c11a112d2e39e2e866afe44f869 /innobase | |
parent | 90af2e8f5c96f13cd9190fe0ff508d8deacd0892 (diff) | |
download | mariadb-git-53c7ab7afbe74d8d063fe177420b339c762f27c3.tar.gz |
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
Diffstat (limited to 'innobase')
-rw-r--r-- | innobase/log/log0log.c | 2 |
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); |