Commit 041e9de6 authored by Sergei Golubchik's avatar Sergei Golubchik

wording: don't prohibit

parent 689f83d0
...@@ -20,7 +20,7 @@ t CREATE TABLE `t` ( ...@@ -20,7 +20,7 @@ t CREATE TABLE `t` (
alter table t add column y int; alter table t add column y int;
ERROR HY000: Not allowed for system-versioned `test`.`t`. Change @@system_versioning_alter_history to proceed with ALTER. ERROR HY000: Not allowed for system-versioned `test`.`t`. Change @@system_versioning_alter_history to proceed with ALTER.
alter table t engine innodb; alter table t engine innodb;
ERROR HY000: Not allowed for system-versioned `test`.`t`. Change to/from native system versioning engine is prohibited. ERROR HY000: Not allowed for system-versioned `test`.`t`. Change to/from native system versioning engine is not supported.
alter table t drop system versioning; alter table t drop system versioning;
show create table t; show create table t;
Table Create Table Table Create Table
...@@ -440,11 +440,11 @@ alter table t1 engine=myisam; ...@@ -440,11 +440,11 @@ alter table t1 engine=myisam;
# MDEV-14692 crash in MDL_context::upgrade_shared_lock() # MDEV-14692 crash in MDL_context::upgrade_shared_lock()
create or replace temporary table t (a int); create or replace temporary table t (a int);
alter table t change column if exists b c bigint unsigned generated always as row start; alter table t change column if exists b c bigint unsigned generated always as row start;
ERROR HY000: System versioning prohibited for TEMPORARY tables ERROR HY000: TEMPORARY tables do not support system versioning
alter table t change column if exists b c bigint unsigned generated always as row end; alter table t change column if exists b c bigint unsigned generated always as row end;
ERROR HY000: System versioning prohibited for TEMPORARY tables ERROR HY000: TEMPORARY tables do not support system versioning
alter table t add system versioning; alter table t add system versioning;
ERROR HY000: System versioning prohibited for TEMPORARY tables ERROR HY000: TEMPORARY tables do not support system versioning
drop table t; drop table t;
# MDEV-14744 trx_id-based and transaction-based mixup in assertion # MDEV-14744 trx_id-based and transaction-based mixup in assertion
create or replace table t (c text) engine=innodb with system versioning; create or replace table t (c text) engine=innodb with system versioning;
......
...@@ -403,7 +403,7 @@ t3 CREATE TABLE `t3` ( ...@@ -403,7 +403,7 @@ t3 CREATE TABLE `t3` (
) ENGINE=NON_DEFAULT_ENGINE DEFAULT CHARSET=latin1 WITH SYSTEM VERSIONING ) ENGINE=NON_DEFAULT_ENGINE DEFAULT CHARSET=latin1 WITH SYSTEM VERSIONING
## Errors ## Errors
create or replace temporary table t (x28 int) with system versioning; create or replace temporary table t (x28 int) with system versioning;
ERROR HY000: System versioning prohibited for TEMPORARY tables ERROR HY000: TEMPORARY tables do not support system versioning
create or replace table t1 ( create or replace table t1 (
x29 int unsigned, x29 int unsigned,
Sys_start0 timestamp(6) as row start invisible, Sys_start0 timestamp(6) as row start invisible,
......
...@@ -5,7 +5,7 @@ t1 CREATE TABLE `t1` ( ...@@ -5,7 +5,7 @@ t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL `a` int(11) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 ) ENGINE=MyISAM DEFAULT CHARSET=latin1
create temporary table tt1 (a int) with system versioning; create temporary table tt1 (a int) with system versioning;
ERROR HY000: System versioning prohibited for TEMPORARY tables ERROR HY000: TEMPORARY tables do not support system versioning
set @old_dbug=@@global.debug_dbug; set @old_dbug=@@global.debug_dbug;
set global debug_dbug='+d,sysvers_force'; set global debug_dbug='+d,sysvers_force';
create table t2 (a int); create table t2 (a int);
......
...@@ -36,7 +36,7 @@ x ...@@ -36,7 +36,7 @@ x
# Engine change native <-> non-native versioning prohibited # Engine change native <-> non-native versioning prohibited
create or replace table t1 (i int) engine=DEFAULT_ENGINE with system versioning partition by hash(i); create or replace table t1 (i int) engine=DEFAULT_ENGINE with system versioning partition by hash(i);
alter table t1 engine=NON_DEFAULT_ENGINE; alter table t1 engine=NON_DEFAULT_ENGINE;
ERROR HY000: Not allowed for system-versioned `test`.`t1`. Change to/from native system versioning engine is prohibited. ERROR HY000: Not allowed for system-versioned `test`.`t1`. Change to/from native system versioning engine is not supported.
## CREATE TABLE ## CREATE TABLE
create or replace table t1 (x int) create or replace table t1 (x int)
partition by system_time ( partition by system_time (
......
...@@ -7854,10 +7854,10 @@ ER_VERS_ALTER_NOT_ALLOWED ...@@ -7854,10 +7854,10 @@ ER_VERS_ALTER_NOT_ALLOWED
eng "Not allowed for system-versioned %`s.%`s. Change @@system_versioning_alter_history to proceed with ALTER." eng "Not allowed for system-versioned %`s.%`s. Change @@system_versioning_alter_history to proceed with ALTER."
ER_VERS_ALTER_ENGINE_PROHIBITED ER_VERS_ALTER_ENGINE_PROHIBITED
eng "Not allowed for system-versioned %`s.%`s. Change to/from native system versioning engine is prohibited." eng "Not allowed for system-versioned %`s.%`s. Change to/from native system versioning engine is not supported."
ER_VERS_RANGE_PROHIBITED ER_VERS_RANGE_PROHIBITED
eng "SYSTEM_TIME range selector is prohibited" eng "SYSTEM_TIME range selector is not allowed"
ER_UNUSED_26 ER_UNUSED_26
eng "You should never see it" eng "You should never see it"
...@@ -7905,7 +7905,7 @@ ER_UNUSED_24 ...@@ -7905,7 +7905,7 @@ ER_UNUSED_24
eng "You should never see it" eng "You should never see it"
ER_VERS_TEMPORARY ER_VERS_TEMPORARY
eng "System versioning prohibited for TEMPORARY tables" eng "TEMPORARY tables do not support system versioning"
ER_VERS_NOT_SUPPORTED ER_VERS_NOT_SUPPORTED
eng "%s is not supported for %s system-versioned tables" eng "%s is not supported for %s system-versioned tables"
......
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