diff options
author | Aleksey Midenkov <midenok@gmail.com> | 2017-06-29 19:35:08 +0300 |
---|---|---|
committer | Aleksey Midenkov <midenok@gmail.com> | 2017-07-03 14:04:34 +0300 |
commit | 4b0f1284eeb633f091f2e93220661fc6888b1abc (patch) | |
tree | f2da8ea93676d23e7578fa8e8fee0ecce6c0aeff /mysql-test/suite/versioning/r/create.result | |
parent | 177e477553bf0d2dd976971a1edf7b400f1aa265 (diff) | |
download | mariadb-git-4b0f1284eeb633f091f2e93220661fc6888b1abc.tar.gz |
SQL: revisit error messages [closes #217]
Diffstat (limited to 'mysql-test/suite/versioning/r/create.result')
-rw-r--r-- | mysql-test/suite/versioning/r/create.result | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/mysql-test/suite/versioning/r/create.result b/mysql-test/suite/versioning/r/create.result index f3ea50192ce..2324adfaa73 100644 --- a/mysql-test/suite/versioning/r/create.result +++ b/mysql-test/suite/versioning/r/create.result @@ -103,14 +103,14 @@ Sys_start2 SYS_TRX_TYPE generated always as row start, Sys_end SYS_TRX_TYPE generated always as row end, period for system_time (Sys_start, Sys_end) ) with system versioning; -ERROR HY000: Wrong parameters for `t1`: multiple 'GENERATED ALWAYS AS ROW START' +ERROR HY000: Wrong parameters for `t1`: multiple 'AS ROW START' (`Sys_start2`, `Sys_start`) create or replace table t1 ( x4 int unsigned, Sys_start SYS_TRX_TYPE generated always as row start, Sys_end2 SYS_TRX_TYPE generated always as row end, period for system_time (Sys_start, Sys_end) ) with system versioning; -ERROR HY000: Wrong parameters for `t1`: 'PERIOD FOR SYSTEM_TIME' and 'GENERATED AS ROW END' mismatch +ERROR HY000: Wrong parameters for `t1`: mismatch 'PERIOD FOR SYSTEM_TIME' and 'AS ROW END' create or replace table t1 ( x5 int unsigned, Sys_start SYS_TRX_TYPE generated always as row start, @@ -118,12 +118,12 @@ Sys_end SYS_TRX_TYPE generated always as row end, Sys_end2 SYS_TRX_TYPE generated always as row end, period for system_time (Sys_start, Sys_end) ) with system versioning; -ERROR HY000: Wrong parameters for `t1`: multiple 'GENERATED ALWAYS AS ROW END' +ERROR HY000: Wrong parameters for `t1`: multiple 'AS ROW END' (`Sys_end2`, `Sys_end`) create or replace table t1 ( x6 int unsigned, period for system_time (Sys_start, Sys_end) ) with system versioning; -ERROR HY000: Wrong parameters for `t1`: 'GENERATED AS ROW START' column missing +ERROR HY000: Wrong parameters for `t1`: missing 'AS ROW START' create or replace table t1 ( x7 int unsigned, Sys_start SYS_TRX_TYPE generated always as row start, @@ -131,28 +131,28 @@ Sys_end SYS_TRX_TYPE generated always as row end, Sys_end2 SYS_TRX_TYPE generated always as row end, period for system_time (Sys_start, Sys_end) ); -ERROR HY000: Wrong parameters for `t1`: multiple 'GENERATED ALWAYS AS ROW END' +ERROR HY000: Wrong parameters for `t1`: multiple 'AS ROW END' (`Sys_end2`, `Sys_end`) create or replace table t1 ( x8 int unsigned, Sys_start SYS_TRX_TYPE generated always as row start, Sys_end SYS_TRX_TYPE generated always as row end, period for system_time (sys_insert, sys_remove) ) with system versioning; -ERROR HY000: Wrong parameters for `t1`: 'PERIOD FOR SYSTEM_TIME' and 'GENERATED AS ROW START' mismatch +ERROR HY000: Wrong parameters for `t1`: mismatch 'PERIOD FOR SYSTEM_TIME' and 'AS ROW START' create or replace table t1 ( x9 int unsigned, Sys_start SYS_TRX_TYPE generated always as row start, Sys_end SYS_TRX_TYPE generated always as row end, period for system_time (Sys_start, Sys_end) ); -ERROR HY000: Wrong parameters for `t1`: 'WITH SYSTEM VERSIONING' missing +ERROR HY000: Wrong parameters for `t1`: missing 'WITH SYSTEM VERSIONING' create or replace table t1 ( x10 int unsigned, Sys_start SYS_TRX_TYPE generated always as row start, Sys_end SYS_TRX_TYPE generated always as row end, period for system_time (Sys_start, Sys_start) ); -ERROR HY000: Wrong parameters for `t1`: 'PERIOD FOR SYSTEM_TIME' columns must be different +ERROR HY000: Wrong parameters for `t1`: multiple `Sys_start` for 'PERIOD FOR SYSTEM_TIME' create or replace table t1 ( x11 int unsigned, Sys_start bigint unsigned generated always as row start, @@ -211,7 +211,7 @@ create or replace table t1 ( A3 int, B int without system versioning ); -ERROR HY000: Wrong parameters for `t1`: 'WITH SYSTEM VERSIONING' missing +ERROR HY000: Wrong parameters for `t1`: missing 'WITH SYSTEM VERSIONING' create or replace table t1 ( A4 int, B int without system versioning @@ -254,39 +254,39 @@ t1 CREATE TABLE `t1` ( create or replace table t1 ( A7 int without system versioning ); -ERROR HY000: Wrong parameters for `t1`: 'WITH SYSTEM VERSIONING' missing +ERROR HY000: Wrong parameters for `t1`: missing 'WITH SYSTEM VERSIONING' create or replace table t1 ( A8 int without system versioning ) with system versioning; -ERROR HY000: Wrong parameters for `t1`: no columns defined with system versioning! +ERROR HY000: Wrong parameters for `t1`: no columns defined 'WITH SYSTEM VERSIONING' create or replace table t1 ( A9 int without system versioning with system versioning ); -ERROR HY000: Wrong parameters for `t1`: Versioning specified more than once for the same field +ERROR HY000: Wrong parameters for `t1`: multiple 'WITH/WITHOUT SYSTEM VERSIONING' for `A9` create or replace table t1 ( A10 int with system versioning without system versioning ); -ERROR HY000: Wrong parameters for `t1`: Versioning specified more than once for the same field +ERROR HY000: Wrong parameters for `t1`: multiple 'WITH/WITHOUT SYSTEM VERSIONING' for `A10` create table t( a11 int ) without system versioning; -ERROR HY000: Wrong parameters for `t`: 'WITHOUT SYSTEM VERSIONING' is not allowed +ERROR HY000: Wrong parameters for `t`: not allowed 'WITHOUT SYSTEM VERSIONING' create or replace table t1 ( A12 int ) without system versioning with system versioning; -ERROR HY000: Wrong parameters for `t1`: Versioning specified more than once for the same table +ERROR HY000: Wrong parameters for `t1`: multiple 'WITH/WITHOUT SYSTEM VERSIONING' create or replace table t1 ( A13 int ) with system versioning without system versioning; -ERROR HY000: Wrong parameters for `t1`: Versioning specified more than once for the same table +ERROR HY000: Wrong parameters for `t1`: multiple 'WITH/WITHOUT SYSTEM VERSIONING' create or replace table t1 ( A14 int ) with system versioning with system versioning; -ERROR HY000: Wrong parameters for `t1`: Versioning specified more than once for the same table +ERROR HY000: Wrong parameters for `t1`: multiple 'WITH/WITHOUT SYSTEM VERSIONING' create or replace table t1 ( A15 int ) without system versioning without system versioning; -ERROR HY000: Wrong parameters for `t1`: Versioning specified more than once for the same table +ERROR HY000: Wrong parameters for `t1`: multiple 'WITH/WITHOUT SYSTEM VERSIONING' create or replace table t1 (a int) with system versioning; create temporary table tmp with system versioning select * from t1; create or replace table t1 (a int) with system versioning; |