summaryrefslogtreecommitdiff
path: root/mysql-test/main/update_ignore_216.result
blob: 4abc1eae06e8b6b745fe7df653eaef55ad29aab1 (plain)
1
2
3
4
5
6
7
8
9
CREATE TABLE t1 ( a INT, b CHAR(3) );
INSERT INTO t1 VALUES ( 1, 'foo' );
CREATE TABLE t2 ( c CHAR(3), d INT );
INSERT INTO t2 VALUES ( 'foo', 1 );
UPDATE IGNORE t1, t2 SET b = 'bar', c = 'bar'
  WHERE a != ( SELECT 1 UNION SELECT 2 );
Warnings:
Warning	1242	Subquery returns more than 1 row
DROP TABLE t1, t2;