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
42a0289d
Commit
42a0289d
authored
Jul 06, 2017
by
Eugene Kosov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tests: optimized fields
parent
1903b407
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
mysql-test/suite/versioning/r/optimized_fields.result
mysql-test/suite/versioning/r/optimized_fields.result
+6
-0
mysql-test/suite/versioning/t/optimized_fields.test
mysql-test/suite/versioning/t/optimized_fields.test
+1
-0
No files found.
mysql-test/suite/versioning/r/optimized_fields.result
View file @
42a0289d
...
...
@@ -58,6 +58,12 @@ select a from t where b=NULL query for system_time as of timestamp now(6);
a
Warnings:
Warning 4075 Attempt to read unversioned field `b` in historical query
select a from t where b is NULL query for system_time as of timestamp now(6);
a
1
3
Warnings:
Warning 4075 Attempt to read unversioned field `b` in historical query
select count(*), b from t group by b having b=NULL query for system_time as of timestamp now(6);
count(*) b
Warnings:
...
...
mysql-test/suite/versioning/t/optimized_fields.test
View file @
42a0289d
...
...
@@ -16,6 +16,7 @@ select * from t group by a having a=2 query for system_time as of timestamp now(
select
*
from
t
group
by
b
having
b
=
2
query
for
system_time
as
of
timestamp
now
(
6
);
select
a
from
t
where
b
=
2
query
for
system_time
as
of
timestamp
now
(
6
);
select
a
from
t
where
b
=
NULL
query
for
system_time
as
of
timestamp
now
(
6
);
select
a
from
t
where
b
is
NULL
query
for
system_time
as
of
timestamp
now
(
6
);
select
count
(
*
),
b
from
t
group
by
b
having
b
=
NULL
query
for
system_time
as
of
timestamp
now
(
6
);
select
a
,
b
from
t
;
...
...
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