Skip to content

Commit b4daf8e

Browse files
committed
split an assert
1 parent de4cfab commit b4daf8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

storage/maria/ma_loghandler.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8653,8 +8653,8 @@ void translog_set_file_size(uint32 size)
86538653
DBUG_ENTER("translog_set_file_size");
86548654
translog_lock();
86558655
DBUG_PRINT("enter", ("Size: %lu", (ulong) size));
8656-
DBUG_ASSERT(size % TRANSLOG_PAGE_SIZE == 0 &&
8657-
size >= TRANSLOG_MIN_FILE_SIZE);
8656+
DBUG_ASSERT(size % TRANSLOG_PAGE_SIZE == 0);
8657+
DBUG_ASSERT(size >= TRANSLOG_MIN_FILE_SIZE);
86588658
log_descriptor.log_file_max_size= size;
86598659
/* if current file longer then finish it*/
86608660
if (LSN_OFFSET(log_descriptor.horizon) >= log_descriptor.log_file_max_size)

0 commit comments

Comments
 (0)