diff options
author | unknown <igor@olga.mysql.com> | 2007-04-11 12:45:27 -0700 |
---|---|---|
committer | unknown <igor@olga.mysql.com> | 2007-04-11 12:45:27 -0700 |
commit | 8d40fa58edab227caa66c3977a7efe3f0fc5876f (patch) | |
tree | 1d75e02c2f857d5ebc2699fcd123f43d69e9de19 /mysql-test/r/row.result | |
parent | 0ec3c2212e418ea1917ec10b7ce810fda75fcf40 (diff) | |
download | mariadb-git-8d40fa58edab227caa66c3977a7efe3f0fc5876f.tar.gz |
Post-merge fix.
Diffstat (limited to 'mysql-test/r/row.result')
-rw-r--r-- | mysql-test/r/row.result | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/r/row.result b/mysql-test/r/row.result index 3a8ab6b8346..bb9e2109f0f 100644 --- a/mysql-test/r/row.result +++ b/mysql-test/r/row.result @@ -193,6 +193,12 @@ SELECT ROW(2,1) IN (ROW(21,2),ROW(ROW(1,1,3),0)); ERROR 21000: Operand should contain 1 column(s) SELECT ROW(2,1) IN (ROW(ROW(1,1,3),0),ROW(21,2)); ERROR 21000: Operand should contain 1 column(s) +SELECT ROW(1,1,1) = ROW(1,1,1) as `1`, ROW(1,1,1) = ROW(1,2,1) as `0`, ROW(1,NULL,1) = ROW(2,2,1) as `0`, ROW(1,NULL,1) = ROW(1,2,2) as `0`, ROW(1,NULL,1) = ROW(1,2,1) as `null` ; +1 0 0 0 null +1 0 0 0 NULL +select row(NULL,1)=(2,0); +row(NULL,1)=(2,0) +0 CREATE TABLE t1 (a int, b int, PRIMARY KEY (a,b)); INSERT INTO t1 VALUES (1,1), (2,1), (3,1), (1,2), (3,2), (3,3); EXPLAIN SELECT * FROM t1 WHERE a=3 AND b=2; |