1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Tests: system columns *not* being auto-renamed (create, alter)

it's correct, they preserve their documented names
This commit is contained in:
Sergei Golubchik
2018-01-02 22:04:10 +01:00
committed by Aleksey Midenkov
parent 35b679b924
commit ca4dbcff69
4 changed files with 35 additions and 13 deletions

View File

@@ -341,12 +341,6 @@ t3 CREATE TABLE `t3` (
`x27` int(11) DEFAULT NULL
) ENGINE=NON_DEFAULT_ENGINE DEFAULT CHARSET=latin1 WITH SYSTEM VERSIONING
## Errors
create or replace table t (sys_trx_start int);
alter table t with system versioning;
ERROR 42S21: Duplicate column name 'sys_trx_start'
create or replace table t (sys_trx_end int);
alter table t with system versioning;
ERROR 42S21: Duplicate column name 'sys_trx_end'
create or replace temporary table t (x28 int) with system versioning;
ERROR HY000: System versioning prohibited for TEMPORARY tables
create or replace table t1 (