summaryrefslogtreecommitdiff
path: root/sql/sql_alter.h
diff options
context:
space:
mode:
authorEugene Kosov <claprix@yandex.ru>2017-12-20 19:42:15 +0300
committerGitHub <noreply@github.com>2017-12-20 19:42:15 +0300
commit4bc268d40686fb94bb53c5bb0b85f4ea97d70fa6 (patch)
tree6422a32af9f9c0d776f4cf676c36f78e15e5f3f0 /sql/sql_alter.h
parentb13f1cc59adb097b8c449730da2c1962493847f4 (diff)
downloadmariadb-git-4bc268d40686fb94bb53c5bb0b85f4ea97d70fa6.tar.gz
MDEV-14632 Assertion `!((new_col->prtype ^ col->prtype) & ~256U)' failed in row_log_table_apply_convert_mrec
SQL, IB: proper fix is to disable unimplemented Online DDL for system-versioned tables inside InnoDB
Diffstat (limited to 'sql/sql_alter.h')
-rw-r--r--sql/sql_alter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_alter.h b/sql/sql_alter.h
index 5dc41ebf413..5478ce74c10 100644
--- a/sql/sql_alter.h
+++ b/sql/sql_alter.h
@@ -97,6 +97,8 @@ public:
ALTER_ADD_CHECK_CONSTRAINT = 1L << 27,
ALTER_DROP_CHECK_CONSTRAINT = 1L << 28,
ALTER_COLUMN_UNVERSIONED = 1L << 29,
+ ALTER_ADD_SYSTEM_VERSIONING = 1L << 30,
+ ALTER_DROP_SYSTEM_VERSIONING= 1L << 31,
};
enum enum_enable_or_disable { LEAVE_AS_IS, ENABLE, DISABLE };