diff options
author | Sergei Golubchik <serg@mariadb.org> | 2021-06-09 18:31:23 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2021-06-11 13:02:55 +0200 |
commit | 3648b333c74b5c36776db30a4370bafa28a73ef0 (patch) | |
tree | afb09a4efa03f67bf264b913cd5caa0a5418a0c6 /sql/item.h | |
parent | 89342a3bd5e127a9060ec2a938cf36479388fcb1 (diff) | |
download | mariadb-git-3648b333c74b5c36776db30a4370bafa28a73ef0.tar.gz |
cleanup: formatting
also avoid an oxymoron of using `MYSQL_PLUGIN_IMPORT` under
`#ifdef MYSQL_SERVER`, and empty_clex_str is so trivial that a plugin
can define it if needed.
Diffstat (limited to 'sql/item.h')
-rw-r--r-- | sql/item.h | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/sql/item.h b/sql/item.h index 8aede90e988..8ab4c8a3bd1 100644 --- a/sql/item.h +++ b/sql/item.h @@ -7517,27 +7517,21 @@ public: Item_type_holder do not need cleanup() because its time of live limited by single SP/PS execution. */ -class Item_type_holder: public Item, - public Type_handler_hybrid_field_type +class Item_type_holder: public Item, public Type_handler_hybrid_field_type { protected: const TYPELIB *enum_set_typelib; public: - Item_type_holder(THD *thd, - Item *item, - const Type_handler *handler, - const Type_all_attributes *attr, - bool maybe_null_arg) - :Item(thd), - Type_handler_hybrid_field_type(handler), + Item_type_holder(THD *thd, Item *item, const Type_handler *handler, + const Type_all_attributes *attr, bool maybe_null_arg) + :Item(thd), Type_handler_hybrid_field_type(handler), enum_set_typelib(attr->get_typelib()) { name= item->name; Type_std_attributes::set(*attr); set_maybe_null(maybe_null_arg); - copy_flags(item, - item_base_t::IS_EXPLICIT_NAME | - item_base_t::IS_IN_WITH_CYCLE); + copy_flags(item, item_base_t::IS_EXPLICIT_NAME | + item_base_t::IS_IN_WITH_CYCLE); } const Type_handler *type_handler() const override |