summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-04-08 08:08:53 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2021-04-08 08:08:53 +0300
commit2a7810759d4127f30f6705892eb73277325984a9 (patch)
tree23f49519d30ad82b565ec442d7e5d38a3a4b4f7e /plugin
parent7b48da4d7e84759b9d4ceb40b9aeb6d28b27f93c (diff)
parent58780b5afbd00a87899c524735ec11b3534e51ee (diff)
downloadmariadb-git-2a7810759d4127f30f6705892eb73277325984a9.tar.gz
MDEV-22775: Merge 10.4 into 10.5
Diffstat (limited to 'plugin')
-rw-r--r--plugin/type_inet/sql_type_inet.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/plugin/type_inet/sql_type_inet.h b/plugin/type_inet/sql_type_inet.h
index 03153af6ddc..4de1124f4c1 100644
--- a/plugin/type_inet/sql_type_inet.h
+++ b/plugin/type_inet/sql_type_inet.h
@@ -458,19 +458,21 @@ public:
MEM_ROOT *mem_root,
Column_definition *def,
handler *file,
- ulonglong table_flags) const override
+ ulonglong table_flags,
+ const Column_derived_attributes
+ *derived_attr)
+ const override
{
- def->create_length_to_internal_length_simple();
+ def->prepare_stage1_simple(&my_charset_numeric);
return false;
}
bool Column_definition_redefine_stage1(Column_definition *def,
const Column_definition *dup,
- const handler *file,
- const Schema_specification_st *schema)
+ const handler *file)
const override
{
- def->redefine_stage1_common(dup, file, schema);
+ def->redefine_stage1_common(dup, file);
def->set_compression_method(dup->compression_method());
def->create_length_to_internal_length_string();
return false;