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
2edb6fda
Commit
2edb6fda
authored
Oct 14, 2016
by
Aleksey Midenkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tests: select.test fix
ded545be9f7a416d1d50d653ab278dd0fc7e6c5e
parent
27944ef9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
mysql-test/r/select.result
mysql-test/r/select.result
+1
-1
mysql-test/t/select.test
mysql-test/t/select.test
+1
-1
No files found.
mysql-test/r/select.result
View file @
2edb6fda
...
...
@@ -5567,7 +5567,7 @@ INSERT INTO t1(x, y) VALUES
DELETE FROM t1 WHERE x = 3;
DELETE FROM t1 WHERE x > 7;
INSERT INTO t1(x, y) VALUES(3, 33);
SELECT @time := Sys_start FROM t1
FOR SYSTEM_TIME BETWEEN TIMESTAMP '0-0-0 0:0:0' AND TIMESTAMP '2038-01-19 04:14:07' WHERE x = 3 AND y = 33
;
SELECT @time := Sys_start FROM t1
WHERE x = 3 AND y = 33 FOR SYSTEM_TIME BETWEEN TIMESTAMP '0-0-0 0:0:0' AND TIMESTAMP '2038-01-19 04:14:07'
;
@time := Sys_start
Sys_start
SELECT x, y FROM t1;
...
...
mysql-test/t/select.test
View file @
2edb6fda
...
...
@@ -4693,7 +4693,7 @@ DELETE FROM t1 WHERE x > 7;
--
real_sleep
1
INSERT
INTO
t1
(
x
,
y
)
VALUES
(
3
,
33
);
--
replace_column
1
Sys_start
SELECT
@
time
:=
Sys_start
FROM
t1
FOR
SYSTEM_TIME
BETWEEN
TIMESTAMP
'0-0-0 0:0:0'
AND
TIMESTAMP
'2038-01-19 04:14:07'
WHERE
x
=
3
AND
y
=
33
;
SELECT
@
time
:=
Sys_start
FROM
t1
WHERE
x
=
3
AND
y
=
33
FOR
SYSTEM_TIME
BETWEEN
TIMESTAMP
'0-0-0 0:0:0'
AND
TIMESTAMP
'2038-01-19 04:14:07'
;
SELECT
x
,
y
FROM
t1
;
SET
@
query
=
CONCAT
(
'SELECT x, y FROM t1 FOR SYSTEM_TIME FROM TIMESTAMP \'0-0-0 0:0:0\' TO TIMESTAMP \''
,
@
time
,
'\''
);
PREPARE
stmt_t1
FROM
@
query
;
...
...
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