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/rpl_utility_server.cc | |
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/rpl_utility_server.cc')
-rw-r--r-- | sql/rpl_utility_server.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/rpl_utility_server.cc b/sql/rpl_utility_server.cc index f3b11e46fa0..4abcd9d6e1e 100644 --- a/sql/rpl_utility_server.cc +++ b/sql/rpl_utility_server.cc @@ -1034,7 +1034,8 @@ public: bool add(const Type_handler *handler, uint16 metadata, const Field *target_field) { - Field *tmp= handler->make_conversion_table_field(this, metadata, + Field *tmp= handler->make_conversion_table_field(in_use->mem_root, + this, metadata, target_field); if (!tmp) return true; |