mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fix for a bug with ROW(..) <=> ROW(...)
This commit is contained in:
@ -159,3 +159,9 @@ a MAX(b) (1, MAX(b)) = (1, 4)
|
||||
1 4 1
|
||||
10 43 0
|
||||
drop table t1;
|
||||
SELECT ROW(2,10) <=> ROW(3,4);
|
||||
ROW(2,10) <=> ROW(3,4)
|
||||
0
|
||||
SELECT ROW(NULL,10) <=> ROW(3,NULL);
|
||||
ROW(NULL,10) <=> ROW(3,NULL)
|
||||
0
|
||||
|
@ -79,3 +79,5 @@ insert into t1 values (10, 43);
|
||||
insert into t1 values (1, 4);
|
||||
select a, MAX(b), (1, MAX(b)) = (1, 4) from t1 group by a;
|
||||
drop table t1;
|
||||
SELECT ROW(2,10) <=> ROW(3,4);
|
||||
SELECT ROW(NULL,10) <=> ROW(3,NULL);
|
||||
|
Reference in New Issue
Block a user