summaryrefslogtreecommitdiff
path: root/sql/partition_info.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-08-12 20:56:35 +0200
committerSergei Golubchik <sergii@pisem.net>2013-08-12 20:56:35 +0200
commit62b658a4050ae67643fce7a6206559ce05c6fc09 (patch)
treed0b33d58118d95b461e3b03de31e110f14bd1e5a /sql/partition_info.h
parent23b4ccde8b9a68e924de31dca26c21e2f36eef47 (diff)
downloadmariadb-git-62b658a4050ae67643fce7a6206559ce05c6fc09.tar.gz
MDEV-4786 merge 10.0-monty -> 10.0
remove half-applied "Bug#14521864: MYSQL 5.1 TO 5.5 BUGS PARTITIONING"
Diffstat (limited to 'sql/partition_info.h')
-rw-r--r--sql/partition_info.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/sql/partition_info.h b/sql/partition_info.h
index 01f6b53a148..59b40d7ce88 100644
--- a/sql/partition_info.h
+++ b/sql/partition_info.h
@@ -210,19 +210,6 @@ public:
but mainly of use to handlers supporting partitioning.
*/
uint16 linear_hash_mask;
- /*
- PARTITION BY KEY ALGORITHM=N
- Which algorithm to use for hashing the fields.
- N = 1 - Use 5.1 hashing (numeric fields are hashed as binary)
- N = 2 - Use 5.5 hashing (numeric fields are hashed like latin1 bytes)
- */
- enum enum_key_algorithm
- {
- KEY_ALGORITHM_NONE= 0,
- KEY_ALGORITHM_51= 1,
- KEY_ALGORITHM_55= 2
- };
- enum_key_algorithm key_algorithm;
bool use_default_partitions;
bool use_default_num_partitions;
@@ -273,7 +260,6 @@ public:
count_curr_subparts(0), part_error_code(0),
num_list_values(0), num_part_fields(0), num_subpart_fields(0),
num_full_part_fields(0), has_null_part_id(0), linear_hash_mask(0),
- key_algorithm(KEY_ALGORITHM_NONE),
use_default_partitions(TRUE), use_default_num_partitions(TRUE),
use_default_subpartitions(TRUE), use_default_num_subpartitions(TRUE),
default_partitions_setup(FALSE), defined_max_value(FALSE),