Commit 40d5fd01 authored by konstantin@mysql.com's avatar konstantin@mysql.com

Followup2 (new commands are supported in prepared statements): test files

should've been fixed as well.
parent 35a15c33
...@@ -59,7 +59,6 @@ execute stmt1 using @arg00; ...@@ -59,7 +59,6 @@ execute stmt1 using @arg00;
select a,b from t1 where b=@arg00; select a,b from t1 where b=@arg00;
## truncate a table ## truncate a table
--error 1295
prepare stmt1 from 'truncate table t1' ; prepare stmt1 from 'truncate table t1' ;
......
...@@ -405,9 +405,7 @@ prepare stmt1 from ' handler t1 open '; ...@@ -405,9 +405,7 @@ prepare stmt1 from ' handler t1 open ';
## commit/rollback ## commit/rollback
--error 1295
prepare stmt3 from ' commit ' ; prepare stmt3 from ' commit ' ;
--error 1295
prepare stmt3 from ' rollback ' ; prepare stmt3 from ' rollback ' ;
...@@ -474,11 +472,8 @@ execute stmt3 using @arg00; ...@@ -474,11 +472,8 @@ execute stmt3 using @arg00;
select m from t3; select m from t3;
drop table t3; drop table t3;
--error 1295
prepare stmt3 from ' create index t2_idx on t2(b) '; prepare stmt3 from ' create index t2_idx on t2(b) ';
--error 1295
prepare stmt3 from ' drop index t2_idx on t2 ' ; prepare stmt3 from ' drop index t2_idx on t2 ' ;
--error 1295
prepare stmt3 from ' alter table t2 drop primary key '; prepare stmt3 from ' alter table t2 drop primary key ';
--disable_warnings --disable_warnings
drop table if exists new_t2; drop table if exists new_t2;
......
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