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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user