Commit f0b89ba5 authored by unknown's avatar unknown
Browse files

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"
parent 704b8576
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -520,3 +520,11 @@ SHOW VARIABLES LIKE 'table_cache';
Variable_name	Value
table_cache	1
SET GLOBAL table_cache=DEFAULT;
create table t1 (a int);
select a into @x from t1;
Warnings:
Warning	1329	No data to FETCH
show warnings;
Level	Code	Message
Warning	1329	No data to FETCH
drop table t1;
+9 −0
Original line number Diff line number Diff line
@@ -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;