We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de4cfab commit b4daf8eCopy full SHA for b4daf8e
storage/maria/ma_loghandler.c
@@ -8653,8 +8653,8 @@ void translog_set_file_size(uint32 size)
8653
DBUG_ENTER("translog_set_file_size");
8654
translog_lock();
8655
DBUG_PRINT("enter", ("Size: %lu", (ulong) size));
8656
- DBUG_ASSERT(size % TRANSLOG_PAGE_SIZE == 0 &&
8657
- size >= TRANSLOG_MIN_FILE_SIZE);
+ DBUG_ASSERT(size % TRANSLOG_PAGE_SIZE == 0);
+ DBUG_ASSERT(size >= TRANSLOG_MIN_FILE_SIZE);
8658
log_descriptor.log_file_max_size= size;
8659
/* if current file longer then finish it*/
8660
if (LSN_OFFSET(log_descriptor.horizon) >= log_descriptor.log_file_max_size)
0 commit comments