diff options
author | Alexander Barkov <bar@mariadb.com> | 2022-10-26 14:48:03 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2022-10-27 11:48:46 +0400 |
commit | ce443c855478e931b77058f3a7108c07500220d7 (patch) | |
tree | 7cea50717bd4c28afa6143e7a1e4b3a48ac24d98 /sql/ha_partition.h | |
parent | 29633dc0c0c49f27ad3c9a405f4730fbfef4bbb0 (diff) | |
download | mariadb-git-ce443c855478e931b77058f3a7108c07500220d7.tar.gz |
MDEV-29495 Generalize can_convert_xxx() hook engine API to cover any arbitrary data type
Diffstat (limited to 'sql/ha_partition.h')
-rw-r--r-- | sql/ha_partition.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/sql/ha_partition.h b/sql/ha_partition.h index 507db9efddf..2670784c759 100644 --- a/sql/ha_partition.h +++ b/sql/ha_partition.h @@ -1624,16 +1624,8 @@ public: friend int cmp_key_rowid_part_id(void *ptr, uchar *ref1, uchar *ref2); friend int cmp_key_part_id(void *key_p, uchar *ref1, uchar *ref2); - bool can_convert_string( - const Field_string* field, - const Column_definition& new_field) const override; - bool can_convert_varstring( - const Field_varstring* field, - const Column_definition& new_field) const override; - - bool can_convert_blob( - const Field_blob* field, - const Column_definition& new_field) const override; + bool can_convert_nocopy(const Field &field, + const Column_definition &new_field) const override; }; #endif /* HA_PARTITION_INCLUDED */ |