diff options
author | Nikita Malyavin <nikitamalyavin@gmail.com> | 2019-09-04 21:35:04 +0300 |
---|---|---|
committer | Nikita Malyavin <nikitamalyavin@gmail.com> | 2019-09-04 21:35:04 +0300 |
commit | 4b6399a63430aa23a57745d53496028b5e8fa187 (patch) | |
tree | fa4fef07f48341693fdf996a936f91dbf1177fcd /sql | |
parent | 7dac196197a0106f9d952b27d3bbeffca9825c48 (diff) | |
download | mariadb-git-tt-10.3-MDEV-16490.tar.gz |
Document the error handling of changing the per-feild versioning, when versioning for table is removedtt-10.3-MDEV-16490
Diffstat (limited to 'sql')
-rw-r--r-- | sql/handler.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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); |