diff options
author | Aleksey Midenkov <midenok@gmail.com> | 2018-01-10 12:36:55 +0300 |
---|---|---|
committer | Aleksey Midenkov <midenok@gmail.com> | 2018-01-10 12:36:55 +0300 |
commit | c59c1a0736e36e9c66f798d199a124f362353377 (patch) | |
tree | 80ee18faad049687b0b4f0e2f147caf870d68390 /sql/partition_info.h | |
parent | 26971c9aea67a62f348cd105348a8dc4407bcf4a (diff) | |
parent | 0b597d3ab2494bc1db97cc4a30d697a5fdf48c21 (diff) | |
download | mariadb-git-c59c1a0736e36e9c66f798d199a124f362353377.tar.gz |
System Versioning 1.0 pre8
Merge branch '10.3' into trunk
Diffstat (limited to 'sql/partition_info.h')
-rw-r--r-- | sql/partition_info.h | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/sql/partition_info.h b/sql/partition_info.h index 3883fac5181..6f1414efb02 100644 --- a/sql/partition_info.h +++ b/sql/partition_info.h @@ -374,28 +374,7 @@ public: size_t file_name_size, uint32 *part_id); void report_part_expr_error(bool use_subpart_expr); bool has_same_partitioning(partition_info *new_part_info); - inline bool is_partition_used(uint part_id) const - { - return bitmap_is_set(&read_partitions, part_id); - } - inline bool is_partition_locked(uint part_id) const - { - return bitmap_is_set(&lock_partitions, part_id); - } - inline uint num_partitions_used() - { - return bitmap_bits_set(&read_partitions); - } - inline uint get_first_used_partition() const - { - return bitmap_get_first_set(&read_partitions); - } - inline uint get_next_used_partition(uint part_id) const - { - return bitmap_get_next_set(&read_partitions, part_id); - } - bool same_key_column_order(List<Create_field> *create_list); - + bool error_if_requires_values() const; private: static int list_part_cmp(const void* a, const void* b); bool set_up_default_partitions(THD *thd, handler *file, HA_CREATE_INFO *info, |