diff options
author | Aleksey Midenkov <midenok@gmail.com> | 2019-08-27 23:01:12 +0300 |
---|---|---|
committer | Aleksey Midenkov <midenok@gmail.com> | 2019-09-01 14:04:24 +0300 |
commit | a3e49c0d36c0347e9dee43f9996ca7c407836a51 (patch) | |
tree | bf0249eb01f0db04ea400df516b8804bb1ab4ad9 /sql/partition_info.h | |
parent | 396da1a70548f80ecf781cf352b0d4a5740c54f6 (diff) | |
download | mariadb-git-a3e49c0d36c0347e9dee43f9996ca7c407836a51.tar.gz |
MDEV-18501 Partition pruning doesn't work for historical queries (cleanup)
Cleanup removes useless allocation.
Diffstat (limited to 'sql/partition_info.h')
-rw-r--r-- | sql/partition_info.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/partition_info.h b/sql/partition_info.h index d6a6214c172..253e88174dd 100644 --- a/sql/partition_info.h +++ b/sql/partition_info.h @@ -366,8 +366,7 @@ public: void init_col_val(part_column_list_val *col_val, Item *item); int reorganize_into_single_field_col_val(THD *thd); part_column_list_val *add_column_value(THD *thd); - bool set_part_expr(THD *thd, char *start_token, Item *item_ptr, - char *end_token, bool is_subpart); + bool set_part_expr(THD *thd, Item *item_ptr, bool is_subpart); bool set_up_charset_field_preps(THD *thd); bool check_partition_field_length(); bool init_column_part(THD *thd); |