Commit db416d1e authored by unknown's avatar unknown

A test case for bug in record #166 :

select @@not_a_variable closes the connection
parent 5ab78b62
...@@ -335,3 +335,8 @@ Table Op Msg_type Msg_text ...@@ -335,3 +335,8 @@ Table Op Msg_type Msg_text
test.t1 check status OK test.t1 check status OK
test.t2 check status OK test.t2 check status OK
drop table t1,t2; drop table t1,t2;
select @@xxxxxxxxxx;
Unknown system variable 'xxxxxxxxxx'
select 1;
1
1
...@@ -241,3 +241,10 @@ select * from t2 where a=3; ...@@ -241,3 +241,10 @@ select * from t2 where a=3;
check table t1,t2; check table t1,t2;
drop table t1,t2; drop table t1,t2;
#
# error conditions
#
--error 1193
select @@xxxxxxxxxx;
select 1;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment