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
09a8c795
Commit
09a8c795
authored
Sep 22, 2016
by
Vicențiu Ciorbaru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix win_std nondeterministic results
parent
3dd3a5da
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
28 deletions
+2
-28
mysql-test/r/win_std.result
mysql-test/r/win_std.result
+0
-28
mysql-test/t/win_std.test
mysql-test/t/win_std.test
+2
-0
No files found.
mysql-test/r/win_std.result
View file @
09a8c795
...
...
@@ -26,34 +26,6 @@ std(c) over (order by a)
0
0
0
Warnings:
Warning 1292 Truncated incorrect DOUBLE value: 'one '
Warning 1292 Truncated incorrect DOUBLE value: 'two '
Warning 1292 Truncated incorrect DOUBLE value: 'three '
Warning 1292 Truncated incorrect DOUBLE value: 'one '
Warning 1292 Truncated incorrect DOUBLE value: 'two '
Warning 1292 Truncated incorrect DOUBLE value: 'three '
Warning 1292 Truncated incorrect DOUBLE value: 'one '
Warning 1292 Truncated incorrect DOUBLE value: 'two '
Warning 1292 Truncated incorrect DOUBLE value: 'three '
Warning 1292 Truncated incorrect DOUBLE value: 'one '
Warning 1292 Truncated incorrect DOUBLE value: 'two '
Warning 1292 Truncated incorrect DOUBLE value: 'three '
Warning 1292 Truncated incorrect DOUBLE value: 'one '
Warning 1292 Truncated incorrect DOUBLE value: 'two '
Warning 1292 Truncated incorrect DOUBLE value: 'three '
Warning 1292 Truncated incorrect DOUBLE value: 'one '
Warning 1292 Truncated incorrect DOUBLE value: 'two '
Warning 1292 Truncated incorrect DOUBLE value: 'three '
Warning 1292 Truncated incorrect DOUBLE value: 'one '
Warning 1292 Truncated incorrect DOUBLE value: 'two '
Warning 1292 Truncated incorrect DOUBLE value: 'three '
Warning 1292 Truncated incorrect DOUBLE value: 'one '
Warning 1292 Truncated incorrect DOUBLE value: 'two '
Warning 1292 Truncated incorrect DOUBLE value: 'three '
Warning 1292 Truncated incorrect DOUBLE value: 'one '
Warning 1292 Truncated incorrect DOUBLE value: 'two '
Warning 1292 Truncated incorrect DOUBLE value: 'three '
# Empty frame.
select std(b) over (order by a rows between 2 following and 1 following)
from t2;
...
...
mysql-test/t/win_std.test
View file @
09a8c795
...
...
@@ -19,9 +19,11 @@ insert into t2 values
(
5
,
1
,
1
,
'two'
),
(
6
,
1
,
2
,
'three'
);
--
disable_warnings
--
echo
# First try some invalid queries.
select
std
(
c
)
over
(
order
by
a
)
from
t2
;
--
enable_warnings
--
echo
# Empty frame.
select
std
(
b
)
over
(
order
by
a
rows
between
2
following
and
1
following
)
...
...
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