From b9550052455de9ffa43f44c920d5b8e30979f70a Mon Sep 17 00:00:00 2001 From: "kostja@bodhi.(none)" <> Date: Fri, 2 Nov 2007 14:47:18 +0300 Subject: Cleanup the test case for Bug#32030 "DELETE does not return an error and deletes rows if error evaluating WHERE" --- mysql-test/r/ps.result | 3 --- mysql-test/t/ps.test | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/mysql-test/r/ps.result b/mysql-test/r/ps.result index db9f0613d7f..9d0906ad5e7 100644 --- a/mysql-test/r/ps.result +++ b/mysql-test/r/ps.result @@ -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), diff --git a/mysql-test/t/ps.test b/mysql-test/t/ps.test index c528fddaf93..fd7caeb195e 100644 --- a/mysql-test/t/ps.test +++ b/mysql-test/t/ps.test @@ -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; -- cgit v1.2.1