diff options
author | istruewing@stella.local <> | 2007-12-11 21:37:33 +0100 |
---|---|---|
committer | istruewing@stella.local <> | 2007-12-11 21:37:33 +0100 |
commit | 03d99c595695fee897e66d7fb83a6b62603c934d (patch) | |
tree | 8d165ae75cc77a6c917c8dc41b75cb2ceb402ca8 /sql/partition_info.cc | |
parent | ffa270d616509cf12727ee26f2986462c2319173 (diff) | |
parent | 71160422ee4ebccac974ff4a42934dafcaf56449 (diff) | |
download | mariadb-git-03d99c595695fee897e66d7fb83a6b62603c934d.tar.gz |
Merge stella.local:/home2/mydev/mysql-5.1-amain
into stella.local:/home2/mydev/mysql-5.1-axmrg
Diffstat (limited to 'sql/partition_info.cc')
-rw-r--r-- | sql/partition_info.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/partition_info.cc b/sql/partition_info.cc index 86d50cdf524..3b580422da1 100644 --- a/sql/partition_info.cc +++ b/sql/partition_info.cc @@ -524,6 +524,13 @@ bool partition_info::check_range_constants() current_largest= part_range_value; range_int_array[i]= part_range_value; } + else if (defined_max_value && + current_largest == part_range_value && + part_range_value == LONGLONG_MAX && + i == (no_parts - 1)) + { + range_int_array[i]= part_range_value; + } else { my_error(ER_RANGE_NOT_INCREASING_ERROR, MYF(0)); |