mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-20052 Add a MEM_ROOT pointer argument to Type_handler::make_xxx_field()
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user