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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
5a90f24c
Commit
5a90f24c
authored
Dec 19, 2013
by
Venkata Sidagam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #17780290 PUBLISH THE GIS TEST FOR BUG#16451878
Adding the test cases for the BUG#16451878.
parent
b430aaba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
0 deletions
+39
-0
mysql-test/r/gis.result
mysql-test/r/gis.result
+21
-0
mysql-test/t/gis.test
mysql-test/t/gis.test
+18
-0
No files found.
mysql-test/r/gis.result
View file @
5a90f24c
...
@@ -1113,4 +1113,25 @@ SELECT 1 FROM g1 WHERE a >= ANY
...
@@ -1113,4 +1113,25 @@ SELECT 1 FROM g1 WHERE a >= ANY
(SELECT 1 FROM g1 WHERE a = geomfromtext('') OR a) ;
(SELECT 1 FROM g1 WHERE a = geomfromtext('') OR a) ;
1
1
DROP TABLE g1;
DROP TABLE g1;
#
# Bug#16451878 GEOMETRY QUERY CRASHES SERVER
#
# should not crash
SELECT ASTEXT(0x0100000000030000000100000000000010);
ASTEXT(0x0100000000030000000100000000000010)
NULL
#should not crash
SELECT ENVELOPE(0x0100000000030000000100000000000010);
ENVELOPE(0x0100000000030000000100000000000010)
NULL
#should not crash
SELECT
GEOMETRYN(0x0100000000070000000100000001030000000200000000000000ffff0000, 1);
GEOMETRYN(0x0100000000070000000100000001030000000200000000000000ffff0000, 1)
NULL
#should not crash
SELECT
GEOMETRYN(0x0100000000070000000100000001030000000200000000000000ffffff0f, 1);
GEOMETRYN(0x0100000000070000000100000001030000000200000000000000ffffff0f, 1)
NULL
End of 5.5 tests
End of 5.5 tests
mysql-test/t/gis.test
View file @
5a90f24c
...
@@ -868,4 +868,22 @@ SELECT 1 FROM g1 WHERE a >= ANY
...
@@ -868,4 +868,22 @@ SELECT 1 FROM g1 WHERE a >= ANY
DROP
TABLE
g1
;
DROP
TABLE
g1
;
--
echo
#
--
echo
# Bug#16451878 GEOMETRY QUERY CRASHES SERVER
--
echo
#
--
echo
# should not crash
SELECT
ASTEXT
(
0x0100000000030000000100000000000010
);
--
echo
#should not crash
SELECT
ENVELOPE
(
0x0100000000030000000100000000000010
);
--
echo
#should not crash
SELECT
GEOMETRYN
(
0x0100000000070000000100000001030000000200000000000000ffff0000
,
1
);
--
echo
#should not crash
SELECT
GEOMETRYN
(
0x0100000000070000000100000001030000000200000000000000ffffff0f
,
1
);
--
echo
End
of
5.5
tests
--
echo
End
of
5.5
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