mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-15408 Confusing error message upon ER_VERS_FIELD_WRONG_TYPE while omitting UNSIGNED in BIGINT
Improve diagnostics. Try to guess what type user tried to type.
This commit is contained in:
committed by
Sergei Golubchik
parent
3d56adbfac
commit
3d649c6e37
@ -371,5 +371,21 @@ create or replace table t1 (i int) with system versioning as select 1 as i;
|
||||
--replace_result $default_engine DEFAULT_ENGINE
|
||||
show create table t1;
|
||||
|
||||
--error ER_VERS_FIELD_WRONG_TYPE
|
||||
create or replace table t1 (
|
||||
a int,
|
||||
row_start bigint as row start,
|
||||
row_end bigint as row end,
|
||||
period for system_time (row_start, row_end)
|
||||
) engine=innodb with system versioning;
|
||||
|
||||
--error ER_VERS_FIELD_WRONG_TYPE
|
||||
create or replace table t1 (
|
||||
a int,
|
||||
row_start bigint as row start,
|
||||
row_end bigint as row end,
|
||||
period for system_time (row_start, row_end)
|
||||
) engine=myisam with system versioning;
|
||||
|
||||
drop database test;
|
||||
create database test;
|
||||
|
Reference in New Issue
Block a user