mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
log0log.c:
Fix assertion failure reported by Alex Kiernan when we compile with the SUN Forte Developer 7 C 5.4 compiler
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user