From 7e29f2d64fb463559a7c9c178ffe899b9bcab113 Mon Sep 17 00:00:00 2001 From: Alexander Barkov Date: Thu, 15 Oct 2015 18:25:54 +0400 Subject: MDEV-8948 ALTER ... INPLACE does work for BINARY, BLOB --- sql/field.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'sql/field.h') diff --git a/sql/field.h b/sql/field.h index b24561d7dd9..e3f2fa5b1ca 100644 --- a/sql/field.h +++ b/sql/field.h @@ -1448,10 +1448,6 @@ protected: const uchar *unpack_int64(uchar* to, const uchar *from, const uchar *from_end) { return unpack_int(to, from, from_end, 8); } - bool field_flags_are_binary() - { - return (flags & (BINCMP_FLAG | BINARY_FLAG)) != 0; - } double pos_in_interval_val_real(Field *min, Field *max); double pos_in_interval_val_str(Field *min, Field *max, uint data_offset); }; @@ -3130,6 +3126,7 @@ public: const Item *item, bool is_eq_func) const; void sql_type(String &str) const; + uint is_equal(Create_field *new_field); int store(const char *to, uint length, CHARSET_INFO *charset); int store(double nr); int store(longlong nr, bool unsigned_val); @@ -3503,11 +3500,6 @@ public: bool check(THD *thd); - bool field_flags_are_binary() - { - return (flags & (BINCMP_FLAG | BINARY_FLAG)) != 0; - } - ha_storage_media field_storage_type() const { return (ha_storage_media) -- cgit v1.2.1