From 4b6399a63430aa23a57745d53496028b5e8fa187 Mon Sep 17 00:00:00 2001 From: Nikita Malyavin Date: Wed, 4 Sep 2019 21:35:04 +0300 Subject: Document the error handling of changing the per-feild versioning, when versioning for table is removed --- sql/handler.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/sql/handler.cc b/sql/handler.cc index 7072a22d679..b3f957b6737 100644 --- a/sql/handler.cc +++ b/sql/handler.cc @@ -7049,6 +7049,7 @@ bool Vers_parse_info::fix_alter_info(THD *thd, Alter_info *alter_info, if (alter_info->flags & ALTER_DROP_SYSTEM_VERSIONING) { + // Prohibit changing field versioning, when removing table versioning if (!share->versioned || create_info->versioned()) { my_error(ER_VERS_NOT_VERSIONED, MYF(0), table_name); -- cgit v1.2.1