summaryrefslogtreecommitdiff
path: root/mysql-test/t/select.test
diff options
context:
space:
mode:
authorunknown <gluh@eagle.(none)>2007-11-14 18:56:49 +0400
committerunknown <gluh@eagle.(none)>2007-11-14 18:56:49 +0400
commit8fe6d1d43aa642e555de126bd09dabf5d8d98031 (patch)
tree4110b79ea5a5b92d1491a583c31dfcaf32b26865 /mysql-test/t/select.test
parentf655bcdac6ebd01211b7f0cc24d288f32300f21e (diff)
parent1490691e31deb4577402120a80c5a448d3a28d6d (diff)
downloadmariadb-git-8fe6d1d43aa642e555de126bd09dabf5d8d98031.tar.gz
Merge mysql.com:/home/gluh/MySQL/Merge/5.0-opt
into mysql.com:/home/gluh/MySQL/Merge/5.1-opt mysql-test/t/select.test: Auto merged
Diffstat (limited to 'mysql-test/t/select.test')
-rw-r--r--mysql-test/t/select.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/t/select.test b/mysql-test/t/select.test
index 8d273441ce8..65e7f212732 100644
--- a/mysql-test/t/select.test
+++ b/mysql-test/t/select.test
@@ -3493,6 +3493,9 @@ CREATE VIEW v1 AS SELECT 1 AS ` `;
--error 1166
CREATE VIEW v1 AS SELECT (SELECT 1 AS ` `);
+CREATE VIEW v1 AS SELECT 1 AS ` x`;
+SELECT `x` FROM v1;
+
--error 1166
ALTER VIEW v1 AS SELECT 1 AS ` `;