diff options
author | Alexander Barkov <bar@mariadb.com> | 2019-10-13 18:32:48 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2019-10-13 18:32:48 +0400 |
commit | 93cf67fda8ed902c18e38de6eb914f92dd049eff (patch) | |
tree | 3c1630bd0805d65749e9f1cf71aaca1567887ddd /plugin | |
parent | ebeb4f93e8de0e6763a55dbf9a265afc32459608 (diff) | |
download | mariadb-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.cc | 3 |
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); |