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:
heikki@hundin.mysql.fi 2003-08-01 12:13:52 +03:00
parent 3c007c3de9
commit 14f2fc28b6

View File

@ -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);