Commit aabd1c8f authored by Nikita Malyavin's avatar Nikita Malyavin

MDEV-16490 fix versioning.partition failure

parent f6a7730c
...@@ -7252,8 +7252,11 @@ bool Table_scope_and_contents_source_st::vers_check_system_fields( ...@@ -7252,8 +7252,11 @@ bool Table_scope_and_contents_source_st::vers_check_system_fields(
if (!(alter_info->flags & ALTER_ADD_SYSTEM_VERSIONING)) if (!(alter_info->flags & ALTER_ADD_SYSTEM_VERSIONING))
return false; return false;
return vers_info.check_sys_fields(table_name, db, alter_info, bool can_native= ha_check_storage_engine_flag(db_type,
ha_check_storage_engine_flag(db_type, HTON_NATIVE_SYS_VERSIONING)); HTON_NATIVE_SYS_VERSIONING)
|| db_type->db_type == DB_TYPE_PARTITION_DB;
return vers_info.check_sys_fields(table_name, db, alter_info, can_native);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment