mirror of
https://github.com/MariaDB/server.git
synced 2025-01-26 00:34:18 +01:00
Merge bk@192.168.21.1:mysql-5.0-opt
into mysql.com:/home/hf/work/mysql-5.0-opt
This commit is contained in:
commit
86744a32d6
2 changed files with 15 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue