summaryrefslogtreecommitdiff
path: root/sql/partition_info.cc
diff options
context:
space:
mode:
authorMikael Ronstrom <mikael@mysql.com>2009-12-02 08:14:22 +0100
committerMikael Ronstrom <mikael@mysql.com>2009-12-02 08:14:22 +0100
commitde95fa0a7de1553dc600e7c3b663f070e8939c84 (patch)
tree63f700aeadad9e9d99744c1c3829415e66135814 /sql/partition_info.cc
parenta07d7da4e73cf514ae5c51b6aef09769a78ef143 (diff)
downloadmariadb-git-de95fa0a7de1553dc600e7c3b663f070e8939c84.tar.gz
BUG#49180, fixed MAXVALUE problem
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 355a4ba6b68..56d79ac0d45 100644
--- a/sql/partition_info.cc
+++ b/sql/partition_info.cc
@@ -801,7 +801,7 @@ int partition_info::compare_column_values(const void *first_arg,
if (first->max_value || second->max_value)
{
if (first->max_value && second->max_value)
- continue;
+ return 0;
if (second->max_value)
return -1;
else