summaryrefslogtreecommitdiff
path: root/sql/partition_info.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-01-13 12:15:46 +0100
committerSergei Golubchik <serg@mariadb.org>2018-01-17 00:44:11 +0100
commitedb637591016bc6ecde4c0e98f829425174a6118 (patch)
tree3e4bbdcc1351f6519a7dac01e218b05e6d0e2cf7 /sql/partition_info.cc
parent2484a2e4c85240fcbb71241a8b48a2155bf5d0c0 (diff)
downloadmariadb-git-edb637591016bc6ecde4c0e98f829425174a6118.tar.gz
compilation warning on windows
Diffstat (limited to 'sql/partition_info.cc')
-rw-r--r--sql/partition_info.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/partition_info.cc b/sql/partition_info.cc
index 65df87bee04..819ba69a147 100644
--- a/sql/partition_info.cc
+++ b/sql/partition_info.cc
@@ -1001,7 +1001,7 @@ bool partition_info::vers_setup_expression(THD * thd, uint32 alter_add)
continue;
}
/* Newly added element is inserted before AS_OF_NOW. */
- if (el->id == UINT32_MAX || el->type() == partition_element::CURRENT)
+ if (el->id == UINT_MAX32 || el->type() == partition_element::CURRENT)
{
DBUG_ASSERT(table && table->s);
Vers_min_max_stats *stat_trx_end= new (&table->s->mem_root)