mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-29495 Generalize can_convert_xxx() hook engine API to cover any arbitrary data type
This commit is contained in:
@ -6948,7 +6948,7 @@ static bool fill_alter_inplace_info(THD *thd, TABLE *table, bool varchar,
|
||||
bool is_equal= field->is_equal(*new_field);
|
||||
if (!is_equal)
|
||||
{
|
||||
if (field->can_be_converted_by_engine(*new_field))
|
||||
if (field->table->file->can_convert_nocopy(*field, *new_field))
|
||||
{
|
||||
/*
|
||||
New column type differs from the old one, but storage engine can
|
||||
|
Reference in New Issue
Block a user