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
f434cb60
Commit
f434cb60
authored
Nov 20, 2007
by
holyfoot/hf@mysql.com/hfmain.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test case added for the bug #31155
parent
ddc04e76
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
mysql-test/r/gis.result
mysql-test/r/gis.result
+6
-0
mysql-test/t/gis.test
mysql-test/t/gis.test
+9
-0
No files found.
mysql-test/r/gis.result
View file @
f434cb60
...
@@ -957,4 +957,10 @@ COUNT(*)
...
@@ -957,4 +957,10 @@ COUNT(*)
2
2
DROP TABLE t1, t2;
DROP TABLE t1, t2;
End of 5.0 tests
End of 5.0 tests
create table `t1` (`col002` point)engine=myisam;
insert into t1 values (),(),();
select min(`col002`) from t1 union select `col002` from t1;
min(`col002`)
NULL
drop table t1;
End of 5.0 tests
End of 5.0 tests
mysql-test/t/gis.test
View file @
f434cb60
...
@@ -631,4 +631,13 @@ SELECT 1;
...
@@ -631,4 +631,13 @@ SELECT 1;
--
source
include
/
gis_keys
.
inc
--
source
include
/
gis_keys
.
inc
#
# Bug #31155 gis types in union'd select cause crash
#
create
table
`t1`
(
`col002`
point
)
engine
=
myisam
;
insert
into
t1
values
(),(),();
select
min
(
`col002`
)
from
t1
union
select
`col002`
from
t1
;
drop
table
t1
;
--
echo
End
of
5.0
tests
--
echo
End
of
5.0
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