summaryrefslogtreecommitdiff
path: root/mysql-test/r/row.result
diff options
context:
space:
mode:
authorunknown <igor@olga.mysql.com>2007-04-01 14:00:56 -0700
committerunknown <igor@olga.mysql.com>2007-04-01 14:00:56 -0700
commit6494ce8356ba6c7d5b387894dcff0adefc5f4a43 (patch)
tree8e6f96d5d333036d45dc60f8224b343da39f5c9f /mysql-test/r/row.result
parentfd4dbbf5be93dd78562642f07102b4d16ed73f1d (diff)
parent7887a74491051d67fe0d780e19a62b5f055d07f9 (diff)
downloadmariadb-git-6494ce8356ba6c7d5b387894dcff0adefc5f4a43.tar.gz
Merge olga.mysql.com:/home/igor/mysql-5.0-opt
into olga.mysql.com:/home/igor/mysql-5.1-opt mysql-test/r/row.result: Auto merged sql/sql_select.cc: Auto merged
Diffstat (limited to 'mysql-test/r/row.result')
-rw-r--r--mysql-test/r/row.result13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/r/row.result b/mysql-test/r/row.result
index 08d457f7ad7..26d616df2f3 100644
--- a/mysql-test/r/row.result
+++ b/mysql-test/r/row.result
@@ -306,3 +306,16 @@ a b a b c
1 1 1 2 1
1 2 1 2 1
DROP TABLE t1,t2;
+CREATE TABLE t1(
+a int, b int, c int, d int, e int, f int, g int, h int,
+PRIMARY KEY (a,b,c,d,e,f,g)
+);
+INSERT INTO t1 VALUES (1,2,3,4,5,6,7,99);
+SELECT h FROM t1 WHERE (a,b,c,d,e,f,g)=(1,2,3,4,5,6,7);
+h
+99
+SET @x:= (SELECT h FROM t1 WHERE (a,b,c,d,e,f,g)=(1,2,3,4,5,6,7));
+SELECT @x;
+@x
+99
+DROP TABLE t1;