diff options
author | Mikael Ronstrom <mikael@mysql.com> | 2009-10-01 15:09:20 +0200 |
---|---|---|
committer | Mikael Ronstrom <mikael@mysql.com> | 2009-10-01 15:09:20 +0200 |
commit | f9b0e5db3fa8d9f041e247119da035ce9fb484b3 (patch) | |
tree | de45f3e1b3661f56c3d57dcb3f69d664bf0d5c58 /sql/sql_partition.cc | |
parent | 1fe164a20e9f8e358f21272f429f5f374f7ec9b2 (diff) | |
download | mariadb-git-f9b0e5db3fa8d9f041e247119da035ce9fb484b3.tar.gz |
BUG#47752, missed to sort values in list partitioning
Diffstat (limited to 'sql/sql_partition.cc')
-rw-r--r-- | sql/sql_partition.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_partition.cc b/sql/sql_partition.cc index 9a9618108e5..05b3822ce43 100644 --- a/sql/sql_partition.cc +++ b/sql/sql_partition.cc @@ -1030,8 +1030,6 @@ static bool fix_fields_part_func(THD *thd, Item* func_expr, TABLE *table, if ((!is_sub_part) && (error= check_signed_flag(part_info))) goto end; result= set_up_field_array(table, is_sub_part); - if (!is_sub_part) - part_info->fixed= TRUE; end: table->get_fields_in_item_tree= FALSE; table->map= 0; //Restore old value @@ -1667,6 +1665,7 @@ bool fix_partition_func(THD *thd, TABLE *table, } part_info->part_result_type= INT_RESULT; } + part_info->fixed= TRUE; } else { @@ -1683,6 +1682,7 @@ bool fix_partition_func(THD *thd, TABLE *table, table, FALSE))) goto end; } + part_info->fixed= TRUE; if (part_info->part_type == RANGE_PARTITION) { error_str= partition_keywords[PKW_RANGE].str; |