summaryrefslogtreecommitdiff
path: root/mysql-test/suite/pbxt/r/delete.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/pbxt/r/delete.result')
-rw-r--r--mysql-test/suite/pbxt/r/delete.result12
1 files changed, 6 insertions, 6 deletions
diff --git a/mysql-test/suite/pbxt/r/delete.result b/mysql-test/suite/pbxt/r/delete.result
index 9d337a1ed34..eb4a4ae78d5 100644
--- a/mysql-test/suite/pbxt/r/delete.result
+++ b/mysql-test/suite/pbxt/r/delete.result
@@ -125,18 +125,19 @@ a b
0 11
2 12
delete ignore t11.*, t12.* from t11,t12 where t11.a = t12.a and t11.b <> (select b from t2 where t11.a < t2.a);
-Warnings:
-Error 1242 Subquery returns more than 1 row
-Error 1242 Subquery returns more than 1 row
+ERROR 21000: Subquery returns more than 1 row
select * from t11;
a b
0 10
1 11
+2 12
select * from t12;
a b
33 10
0 11
+2 12
insert into t11 values (2, 12);
+ERROR 23000: Duplicate entry '2' for key 'PRIMARY'
delete from t11 where t11.b <> (select b from t2 where t11.a < t2.a);
ERROR 21000: Subquery returns more than 1 row
select * from t11;
@@ -145,13 +146,12 @@ a b
1 11
2 12
delete ignore from t11 where t11.b <> (select b from t2 where t11.a < t2.a);
-Warnings:
-Error 1242 Subquery returns more than 1 row
-Error 1242 Subquery returns more than 1 row
+ERROR 21000: Subquery returns more than 1 row
select * from t11;
a b
0 10
1 11
+2 12
drop table t11, t12, t2;
create table t1 (a int, b int, unique key (a), key (b));
insert into t1 values (3, 3), (7, 7);