summaryrefslogtreecommitdiff
path: root/mysql-test/r/row.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/r/row.result')
-rw-r--r--mysql-test/r/row.result3
1 files changed, 1 insertions, 2 deletions
diff --git a/mysql-test/r/row.result b/mysql-test/r/row.result
index 1d606fc370c..f3522e05380 100644
--- a/mysql-test/r/row.result
+++ b/mysql-test/r/row.result
@@ -1,3 +1,4 @@
+drop table if exists t1;
select row(1,2,3) IN (row(3,2,3), row(1,2,3), row(1,3,3));
row(1,2,3) IN (row(3,2,3), row(1,2,3), row(1,3,3))
1
@@ -88,7 +89,6 @@ ROW('test',2,ROW(3,33))=ROW('test',2,ROW(3,NULL))
NULL
SELECT ROW('test',2,ROW(3,33))=ROW('test',2,4);
Cardinality error (more/less than 2 columns)
-drop table if exists t1;
create table t1 ( a int, b int, c int);
insert into t1 values (1,2,3), (2,3,1), (3,2,1), (1,2,NULL);
select * from t1 where ROW(1,2,3)=ROW(a,b,c);
@@ -127,7 +127,6 @@ ROW(1,2,3) IN(row(a,b,c), row(1,2,3))
drop table t1;
select ROW(1,1);
Cardinality error (more/less than 1 columns)
-drop table if exists t1;
create table t1 (i int);
select 1 from t1 where ROW(1,1);
Cardinality error (more/less than 1 columns)