summaryrefslogtreecommitdiff
path: root/mysql-test/t/variables.test
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2005-03-23 21:36:15 +0300
committerunknown <konstantin@mysql.com>2005-03-23 21:36:15 +0300
commitf0b89ba5aaff4dcb72fb0c147212ddc15a213a9e (patch)
tree92d3dc0dd89c97b28a68d2ce1ac217c4817fdaca /mysql-test/t/variables.test
parent704b8576f744800f50bc3d56e87a8ee4f7617531 (diff)
downloadmariadb-git-f0b89ba5aaff4dcb72fb0c147212ddc15a213a9e.tar.gz
A test case for Bug#6282 "Packet error with SELECT INTO"
(the bug itself is no longer repeatable). mysql-test/r/variables.result: Results fixed (Bug#6282) mysql-test/t/variables.test: A test case for Bug#6282 "Packet error with SELECT INTO"
Diffstat (limited to 'mysql-test/t/variables.test')
-rw-r--r--mysql-test/t/variables.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/t/variables.test b/mysql-test/t/variables.test
index 5310d50b7cb..ebd6edf4045 100644
--- a/mysql-test/t/variables.test
+++ b/mysql-test/t/variables.test
@@ -388,3 +388,12 @@ SHOW VARIABLES LIKE 'MYISAM_DATA_POINTER_SIZE';
SET GLOBAL table_cache=-1;
SHOW VARIABLES LIKE 'table_cache';
SET GLOBAL table_cache=DEFAULT;
+
+#
+# Bug#6282 Packet error with SELECT INTO
+#
+create table t1 (a int);
+select a into @x from t1;
+show warnings;
+drop table t1;
+