diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-01-13 12:15:46 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-01-17 00:44:11 +0100 |
commit | edb637591016bc6ecde4c0e98f829425174a6118 (patch) | |
tree | 3e4bbdcc1351f6519a7dac01e218b05e6d0e2cf7 /sql/partition_info.h | |
parent | 2484a2e4c85240fcbb71241a8b48a2155bf5d0c0 (diff) | |
download | mariadb-git-edb637591016bc6ecde4c0e98f829425174a6118.tar.gz |
compilation warning on windows
Diffstat (limited to 'sql/partition_info.h')
-rw-r--r-- | sql/partition_info.h | 6 |
1 files changed, 3 insertions, 3 deletions
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; |