summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2019-10-13 18:32:48 +0400
committerAlexander Barkov <bar@mariadb.com>2019-10-13 18:32:48 +0400
commit93cf67fda8ed902c18e38de6eb914f92dd049eff (patch)
tree3c1630bd0805d65749e9f1cf71aaca1567887ddd /plugin
parentebeb4f93e8de0e6763a55dbf9a265afc32459608 (diff)
downloadmariadb-git-93cf67fda8ed902c18e38de6eb914f92dd049eff.tar.gz
Adding the "override" keyword to Item_char_typecast_func_handler_inet6_to_binary::type_handler_for_create_select()
Clang fails to compile without it.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/type_inet/sql_type_inet.cc3
1 files changed, 2 insertions, 1 deletions
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);