Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
1a06a482
Commit
1a06a482
authored
Dec 23, 2017
by
Sergei Golubchik
Committed by
Eugene Kosov
Dec 29, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tests: ER_VERS_DUPLICATE_ROW_START_END check
parent
759843ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
mysql-test/suite/versioning/r/create.result
mysql-test/suite/versioning/r/create.result
+8
-0
mysql-test/suite/versioning/t/create.test
mysql-test/suite/versioning/t/create.test
+9
-0
No files found.
mysql-test/suite/versioning/r/create.result
View file @
1a06a482
...
...
@@ -353,6 +353,14 @@ Sys_end timestamp(6) as row end invisible,
period for system_time (Sys_start, Sys_end)
) with system versioning;
ERROR HY000: Duplicate ROW START column `Sys_start`
create or replace table t1 (
x29 int unsigned,
Sys_end0 timestamp(6) as row end invisible,
Sys_start timestamp(6) as row start invisible,
Sys_end timestamp(6) as row end invisible,
period for system_time (Sys_start, Sys_end)
) with system versioning;
ERROR HY000: Duplicate ROW END column `Sys_end`
## System fields detection
create or replace table t1 (x30 int) with system versioning;
create or replace table t2 (
...
...
mysql-test/suite/versioning/t/create.test
View file @
1a06a482
...
...
@@ -325,6 +325,15 @@ create or replace table t1 (
period
for
system_time
(
Sys_start
,
Sys_end
)
)
with
system
versioning
;
--
error
ER_VERS_DUPLICATE_ROW_START_END
create
or
replace
table
t1
(
x29
int
unsigned
,
Sys_end0
timestamp
(
6
)
as
row
end
invisible
,
Sys_start
timestamp
(
6
)
as
row
start
invisible
,
Sys_end
timestamp
(
6
)
as
row
end
invisible
,
period
for
system_time
(
Sys_start
,
Sys_end
)
)
with
system
versioning
;
--
echo
## System fields detection
create
or
replace
table
t1
(
x30
int
)
with
system
versioning
;
--
replace_result
$default_engine
DEFAULT_ENGINE
$sys_datatype
SYS_DATATYPE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment