1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-02 02:53:04 +03:00

Fix for BUG#11821: Make Item_type_holder be able to work with MIN(field),

MAX(field).
This commit is contained in:
sergefp@mysql.com
2005-07-12 16:30:45 +00:00
parent 1042a275fe
commit 55e70fd1f6
3 changed files with 20 additions and 2 deletions

View File

@@ -2721,3 +2721,9 @@ SELECT s.ip, count( e.itemid ) FROM `t1` e JOIN t2 s ON s.sessionid = e.sessioni
ip count( e.itemid )
10.10.10.1 1
drop tables t1,t2;
create table t1 (fld enum('0','1'));
insert into t1 values ('1');
select * from (select max(fld) from t1) as foo;
max(fld)
1
drop table t1;