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
abe6aca8
Commit
abe6aca8
authored
Feb 07, 2017
by
Alexey Botchkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-11554 innodb_gis.precise fails in buildbot on Power.
Usual '8' turns into 7.9999999 on Power. Test case fixed.
parent
92bbf4ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
mysql-test/suite/innodb_gis/t/precise.test
mysql-test/suite/innodb_gis/t/precise.test
+3
-1
No files found.
mysql-test/suite/innodb_gis/t/precise.test
View file @
abe6aca8
...
...
@@ -65,7 +65,7 @@ select ST_DISTANCE(ST_geomfromtext('linestring(0 0, 3 6, 6 3, 0 0)'), ST_geomfro
# Operations tests
--
replace_result
23.85542168674699
23.855421686746986
--
replace_result
23.85542168674699
23.855421686746986
7.999999999999999
8
select
ST_astext
(
ST_Intersection
(
ST_GeomFromText
(
'POLYGON((0 0, 50 45, 40 50, 0 0))'
),
ST_GeomFromText
(
'POLYGON((50 5, 55 10, 0 45, 50 5))'
)));
--
replace_result
23.85542168674699
23.855421686746986
select
ST_astext
(
ST_Intersection
(
ST_GeomFromText
(
'LINESTRING(0 0, 50 45, 40 50, 0 0)'
),
ST_GeomFromText
(
'LINESTRING(50 5, 55 10, 0 45, 50 5)'
)));
...
...
@@ -73,11 +73,13 @@ select ST_astext(ST_Intersection(ST_GeomFromText('LINESTRING(0 0, 50 45, 40 50)'
select
ST_astext
(
ST_Intersection
(
ST_GeomFromText
(
'POLYGON((0 0, 50 45, 40 50, 0 0))'
),
ST_GeomFromText
(
'POINT(20 20)'
)));
select
ST_astext
(
ST_Intersection
(
ST_GeomFromText
(
'POLYGON((0 0, 50 45, 40 50, 0 0))'
),
ST_GeomFromText
(
'LINESTRING(-10 -10, 200 200)'
)));
select
ST_astext
(
ST_Intersection
(
ST_GeomFromText
(
'POLYGON((0 0, 50 45, 40 50, 0 0))'
),
ST_GeomFromText
(
'LINESTRING(-10 -10, 200 200, 199 201, -11 -9)'
)));
--
replace_result
7.999999999999999
8
select
ST_astext
(
ST_UNION
(
ST_GeomFromText
(
'POLYGON((0 0, 50 45, 40 50, 0 0))'
),
ST_GeomFromText
(
'LINESTRING(-10 -10, 200 200, 199 201, -11 -9)'
)));
select
ST_astext
(
ST_intersection
(
ST_geomfromtext
(
'polygon((0 0, 1 0, 0 1, 0 0))'
),
ST_geomfromtext
(
'polygon((0 0, 1 1, 0 2, 0 0))'
)));
select
ST_astext
(
ST_symdifference
(
ST_geomfromtext
(
'polygon((0 0, 1 0, 0 1, 0 0))'
),
ST_geomfromtext
(
'polygon((0 0, 1 1, 0 2, 0 0))'
)));
--
replace_result
7.999999999999999
8
select
ST_astext
(
ST_UNION
(
ST_GeomFromText
(
'POLYGON((0 0, 50 45, 40 50, 0 0))'
),
ST_GeomFromText
(
'LINESTRING(-10 -10, 200 200, 199 201, -11 -9)'
)));
# Buffer() tests
...
...
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