mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Followup2 (new commands are supported in prepared statements): test files
should've been fixed as well. mysql-test/include/ps_modify.inc: Followup2 (new commands are supported in prepared statements): - no more error is expected here mysql-test/t/ps_1general.test: Followup2 (new commands are supported in prepared statements): - no more error expected here
This commit is contained in:
@@ -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 ';
|
|||||||
|
|
||||||
|
|
||||||
## 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;
|
|||||||
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;
|
||||||
|
Reference in New Issue
Block a user