[MDEV-15413] Unexpected errors upon CREATE TABLE .. WITH SYSTEM VERSIONING AS SELECT ... Created: 2018-02-24  Updated: 2018-04-10  Resolved: 2018-04-10

Status: Closed
Project: MariaDB Server
Component/s: Versioned Tables
Affects Version/s: 10.3
Fix Version/s: 10.3.6

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: None


 Description   

MariaDB [test]> create or replace table t1 with system versioning  as select 1 as i;
ERROR 1364 (HY000): Field 'i' doesn't have a default value
 
MariaDB [test]> create or replace table t1 (i int) with system versioning  as select 1 as i;
ERROR 1060 (42S21): Duplicate column name 'i'

Without system versioning clause both variants work, of course.



 Comments   
Comment by Aleksey Midenkov [ 2018-03-28 ]

Analysis

Generated at Thu Feb 08 08:21:06 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.