summaryrefslogtreecommitdiff
path: root/sql/handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/handler.cc')
-rw-r--r--sql/handler.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/handler.cc b/sql/handler.cc
index 8a3310f3e47..26aad3951c9 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -7281,8 +7281,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())
+ if (!share->versioned)
{
my_error(ER_VERS_NOT_VERSIONED, MYF(0), table_name);
return true;