diff options
author | unknown <mikael/pappa@dator5.(none)> | 2006-09-26 16:30:39 -0400 |
---|---|---|
committer | unknown <mikael/pappa@dator5.(none)> | 2006-09-26 16:30:39 -0400 |
commit | 288da1d759874293fdfdb06f15194b826d7dadb4 (patch) | |
tree | 33df64e69cd860b7d3587217d7ce719d00fb1ab6 /mysql-test/r/partition.result | |
parent | fad4962a5b98b671a56db5e6f42a6cf49770edf1 (diff) | |
download | mariadb-git-288da1d759874293fdfdb06f15194b826d7dadb4.tar.gz |
Final step of Take 7 on review fixes of this
fairly complex bug
mysql-test/r/partition.result:
Merge fix
sql/partition_info.cc:
Moved method from sql_partition.cc to the partition_info class
sql/partition_info.h:
Introduced a number of charset related arrays
Removed some bools that could be checked by checking arrays instead
sql/sql_partition.cc:
Introduced a number of charset related arrays
Removed some bools that could be checked by checking arrays instead
Made method of common complex if-statement
Made that method and check of partition function fields public methods
to enable use from partition_info class.
Moved method to partition_info class
Optimised copy_to_part_field_buffers method to avoid as much as possible
calculations in those. Also avoided double calls when both subpartitioning
and partitioning
Handled review comments
sql/sql_partition.h:
New methods public for use in partition_info class
sql/sql_yacc.yy:
Missed this in previous merge and review fixes
Diffstat (limited to 'mysql-test/r/partition.result')
-rw-r--r-- | mysql-test/r/partition.result | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/mysql-test/r/partition.result b/mysql-test/r/partition.result index d8d433ef216..97d6275a835 100644 --- a/mysql-test/r/partition.result +++ b/mysql-test/r/partition.result @@ -1,9 +1,4 @@ drop table if exists t1; -create table t1 (s1 char(2) character set utf8) -partition by list (case when s1 > 'cz' then 1 else 2 end) -(partition p1 values in (1), -partition p2 values in (2)); -drop table t1; create table t1 (a int) partition by key(a) partitions 0.2+e1; |