diff options
author | Alexander Barkov <bar@mariadb.com> | 2019-07-12 06:58:51 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2019-07-12 06:58:51 +0400 |
commit | e6ff3f9d1c889f31208168df59e109b6a7ac072e (patch) | |
tree | efeb6d2755c2322fcff489a80d111256045ef13a /sql/item_strfunc.h | |
parent | 1517087b546bf97ab2afe0e81af0cdfddd323e77 (diff) | |
download | mariadb-git-e6ff3f9d1c889f31208168df59e109b6a7ac072e.tar.gz |
MDEV-20052 Add a MEM_ROOT pointer argument to Type_handler::make_xxx_field()
Diffstat (limited to 'sql/item_strfunc.h')
-rw-r--r-- | sql/item_strfunc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h index 3ed5a7036c3..676a815eb4e 100644 --- a/sql/item_strfunc.h +++ b/sql/item_strfunc.h @@ -1796,8 +1796,8 @@ public: TABLE *table; Item_temptable_rowid(TABLE *table_arg); const Type_handler *type_handler() const { return &type_handler_string; } - Field *create_tmp_field(bool group, TABLE *table) - { return create_table_field_from_handler(table); } + Field *create_tmp_field(MEM_ROOT *root, bool group, TABLE *table) + { return create_table_field_from_handler(root, table); } String *val_str(String *str); enum Functype functype() const { return TEMPTABLE_ROWID; } const char *func_name() const { return "<rowid>"; } |