From edb637591016bc6ecde4c0e98f829425174a6118 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Sat, 13 Jan 2018 12:15:46 +0100 Subject: compilation warning on windows --- sql/partition_info.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sql/partition_info.h') diff --git a/sql/partition_info.h b/sql/partition_info.h index 23e94661e68..67a62874fcd 100644 --- a/sql/partition_info.h +++ b/sql/partition_info.h @@ -57,11 +57,11 @@ struct Vers_part_info : public Sql_alloc { if (now_part) { - DBUG_ASSERT(now_part->id != UINT32_MAX); + DBUG_ASSERT(now_part->id != UINT_MAX32); DBUG_ASSERT(now_part->type() == partition_element::CURRENT); DBUG_ASSERT(!fully || (bool) hist_part); DBUG_ASSERT(!hist_part || ( - hist_part->id != UINT32_MAX && + hist_part->id != UINT_MAX32 && hist_part->type() == partition_element::HISTORY)); return true; } @@ -406,7 +406,7 @@ public: { DBUG_ASSERT(table && table->s); DBUG_ASSERT(vers_info && vers_info->initialized()); - DBUG_ASSERT(table->s->hist_part_id != UINT32_MAX); + DBUG_ASSERT(table->s->hist_part_id != UINT_MAX32); if (table->s->hist_part_id == vers_info->hist_part->id) return vers_info->hist_part; -- cgit v1.2.1