diff options
Diffstat (limited to 'sql/sql_partition.cc')
-rw-r--r-- | sql/sql_partition.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_partition.cc b/sql/sql_partition.cc index f042f028450..b8aa4c7e944 100644 --- a/sql/sql_partition.cc +++ b/sql/sql_partition.cc @@ -4839,7 +4839,7 @@ that are reorganised. */ start_part= 0; end_part= new_total_partitions - (upper_2n + 1); - end_part= max(lower_2n - 1, end_part); + end_part= MY_MAX(lower_2n - 1, end_part); } else if (new_total_partitions <= upper_2n) { |