summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-04-08 10:11:36 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2021-04-08 10:11:36 +0300
commit1900c2ede547dfac07f92c13e21ee63e0697600e (patch)
tree5afa249ca3893fe6bdb440ffdafa281a1b3d3289 /plugin
parent76db096ae60571bff45f109d889ed033b682e4fa (diff)
parent0ba845a8c7e59eec3f7cb84baf924bd5a7190a13 (diff)
downloadmariadb-git-1900c2ede547dfac07f92c13e21ee63e0697600e.tar.gz
Merge 10.5 into 10.6
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;