From b4daf8efac1342c461f28cdf59e75ff397a562f4 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Thu, 15 Jan 2015 14:41:24 +0100 Subject: [PATCH] split an assert --- storage/maria/ma_loghandler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/storage/maria/ma_loghandler.c b/storage/maria/ma_loghandler.c index a4901332088..edf819cee4d 100644 --- a/storage/maria/ma_loghandler.c +++ b/storage/maria/ma_loghandler.c @@ -8653,8 +8653,8 @@ void translog_set_file_size(uint32 size) DBUG_ENTER("translog_set_file_size"); translog_lock(); DBUG_PRINT("enter", ("Size: %lu", (ulong) size)); - DBUG_ASSERT(size % TRANSLOG_PAGE_SIZE == 0 && - size >= TRANSLOG_MIN_FILE_SIZE); + DBUG_ASSERT(size % TRANSLOG_PAGE_SIZE == 0); + DBUG_ASSERT(size >= TRANSLOG_MIN_FILE_SIZE); log_descriptor.log_file_max_size= size; /* if current file longer then finish it*/ if (LSN_OFFSET(log_descriptor.horizon) >= log_descriptor.log_file_max_size)