Commit 2c1c18ed authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Fix compile warning.

parent 0da2df24
...@@ -6229,7 +6229,7 @@ my_bool translog_write_record(LSN *lsn, ...@@ -6229,7 +6229,7 @@ my_bool translog_write_record(LSN *lsn,
DBUG_ASSERT(translog_status == TRANSLOG_OK || DBUG_ASSERT(translog_status == TRANSLOG_OK ||
translog_status == TRANSLOG_READONLY); translog_status == TRANSLOG_READONLY);
DBUG_ASSERT(type != 0); DBUG_ASSERT(type != 0);
DBUG_ASSERT(type <= max_allowed_translog_type); DBUG_ASSERT((uint)type <= max_allowed_translog_type);
if (unlikely(translog_status != TRANSLOG_OK)) if (unlikely(translog_status != TRANSLOG_OK))
{ {
DBUG_PRINT("error", ("Transaction log is write protected")); DBUG_PRINT("error", ("Transaction log is write protected"));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment