summaryrefslogtreecommitdiff
path: root/mysql-test/r
diff options
context:
space:
mode:
authorunknown <ibabaev@bk-internal.mysql.com>2007-04-02 03:56:39 +0200
committerunknown <ibabaev@bk-internal.mysql.com>2007-04-02 03:56:39 +0200
commitf249185b6eead7796f15f880a896a7782222db99 (patch)
tree53352122715b4b4984419eb9e81e2a1f1b41c989 /mysql-test/r
parentc3bdec10a30464036b86967e7d99bece0a721f7e (diff)
parent7887a74491051d67fe0d780e19a62b5f055d07f9 (diff)
downloadmariadb-git-f249185b6eead7796f15f880a896a7782222db99.tar.gz
Merge bk-internal.mysql.com:/data0/bk/mysql-5.0
into bk-internal.mysql.com:/data0/bk/mysql-5.0-opt sql/sql_select.cc: Auto merged
Diffstat (limited to 'mysql-test/r')
-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 5b5f8b7b954..faf9b11d7c9 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;