Cleanup the test case for Bug#32030 "DELETE does not return an error and

deletes rows if error evaluating WHERE"
This commit is contained in:
kostja@bodhi.(none) 2007-11-02 14:47:18 +03:00
parent a0f55d11f6
commit b955005245
2 changed files with 2 additions and 4 deletions

View file

@ -2681,9 +2681,6 @@ t1 CREATE TABLE `t1` (
) ENGINE=MyISAM DEFAULT CHARSET=latin1
drop table t1;
drop table if exists t1, t2;
Warnings:
Note 1051 Unknown table 't1'
Note 1051 Unknown table 't2'
create table t1 (a int, b int);
create table t2 like t1;
insert into t1 (a, b) values (1,1), (1,2), (1,3), (1,4), (1,5),

View file

@ -2785,8 +2785,9 @@ drop table t1;
# Test that there is an error for prepared delete just like for the normal
# one.
#
--disable_warnings
drop table if exists t1, t2;
--enable_warnings
create table t1 (a int, b int);
create table t2 like t1;