1
0
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:
Sinisa@sinisa.nasamreza.org
2003-03-10 20:54:18 +02:00
parent d6923a6c10
commit 9c8838749f
3 changed files with 10 additions and 3 deletions

View File

@ -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

View File

@ -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);