From 93cf67fda8ed902c18e38de6eb914f92dd049eff Mon Sep 17 00:00:00 2001 From: Alexander Barkov Date: Sun, 13 Oct 2019 18:32:48 +0400 Subject: Adding the "override" keyword to Item_char_typecast_func_handler_inet6_to_binary::type_handler_for_create_select() Clang fails to compile without it. --- plugin/type_inet/sql_type_inet.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugin') diff --git a/plugin/type_inet/sql_type_inet.cc b/plugin/type_inet/sql_type_inet.cc index 05d87acf8f8..322f494ba2b 100644 --- a/plugin/type_inet/sql_type_inet.cc +++ b/plugin/type_inet/sql_type_inet.cc @@ -1230,7 +1230,8 @@ public: return &type_handler_string; } const Type_handler * - type_handler_for_create_select(const Item_handled_func *item) const + type_handler_for_create_select(const Item_handled_func *item) + const override { if (item->max_length > MAX_FIELD_VARCHARLENGTH) return Type_handler::blob_type_handler(item->max_length); -- cgit v1.2.1